[MPlayer-dev-eng] Bug #1028

Attila Kinali attila at kinali.ch
Thu Oct 15 22:35:22 CEST 2009


On Thu, 15 Oct 2009 22:19:10 +0200
Attila Kinali <attila at kinali.ch> wrote:

 
> Also, is the patch in the last comment in the report ok and can
> it be commited?

The ministry of sarcastic remarks asked me to attach said patch,
so here it is:

--- libmpcodecs/vd_ffmpeg.c.old 2009-05-11 09:43:19.000000000 -0400
+++ libmpcodecs/vd_ffmpeg.c     2009-05-11 09:46:16.000000000 -0400
@@ -248,7 +248,7 @@
     if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND)
&& !do_vis_debug)
         ctx->do_slices=1;

-    if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug &&
lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO
&& lavc_codec->id != CODEC_ID_ROQ)
+    if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug &&
lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO
&& lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP6F)
         ctx->do_dr1=1;
     ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64;
     ctx->ip_count= ctx->b_count= 0;



				Attila Kinali

-- 
The true CS students do not need to know how to program.
They learn how to abstract the process of programming to
the point of making programmers obsolete.
		-- Jabber in #holo



More information about the MPlayer-dev-eng mailing list