changeset 8200:3ae71e4f2858

disable dr1 for huffyuv (422P & stride hack & dr1 -> bad )
author michael
date Fri, 15 Nov 2002 00:12:38 +0000
parents 6fe1bb505027
children 31bda85aeb11
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Thu Nov 14 23:56:40 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Fri Nov 15 00:12:38 2002 +0000
@@ -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