comparison libmpcodecs/vd_ffmpeg.c @ 8200:3ae71e4f2858

disable dr1 for huffyuv (422P & stride hack & dr1 -> bad )
author michael
date Fri, 15 Nov 2002 00:12:38 +0000
parents c3716e345dfb
children d7bc284a2b4a
comparison
equal deleted inserted replaced
8199:6fe1bb505027 8200:3ae71e4f2858
144 ctx->do_slices=1; 144 ctx->do_slices=1;
145 145
146 #if LIBAVCODEC_BUILD > 4615 146 #if LIBAVCODEC_BUILD > 4615
147 if(lavc_codec->capabilities&CODEC_CAP_DR1) 147 if(lavc_codec->capabilities&CODEC_CAP_DR1)
148 ctx->do_dr1=1; 148 ctx->do_dr1=1;
149 //XXX:FIXME:HACK:UGLY 422P with direct rendering is buggy cuz of that chroma stride trick ...
150 if(sh->format == mmioFOURCC('H','F','Y','U'))
151 ctx->do_dr1=0;
149 #endif 152 #endif
150 153
151 #if LIBAVCODEC_BUILD >= 4624 154 #if LIBAVCODEC_BUILD >= 4624
152 ctx->avctx = avcodec_alloc_context(); 155 ctx->avctx = avcodec_alloc_context();
153 #else 156 #else