[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.69,1.70
Michael Niedermayer CVS
michael at mplayerhq.hu
Fri Nov 15 01:12:41 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv31566/libmpcodecs
Modified Files:
vd_ffmpeg.c
Log Message:
disable dr1 for huffyuv (422P & stride hack & dr1 -> bad )
Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- vd_ffmpeg.c 14 Nov 2002 19:27:51 -0000 1.69
+++ vd_ffmpeg.c 15 Nov 2002 00:12:38 -0000 1.70
@@ -146,6 +146,9 @@
#if LIBAVCODEC_BUILD > 4615
if(lavc_codec->capabilities&CODEC_CAP_DR1)
ctx->do_dr1=1;
+ //XXX:FIXME:HACK:UGLY 422P with direct rendering is buggy cuz of that chroma stride trick ...
+ if(sh->format == mmioFOURCC('H','F','Y','U'))
+ ctx->do_dr1=0;
#endif
#if LIBAVCODEC_BUILD >= 4624
More information about the MPlayer-cvslog
mailing list