[MPlayer-cvslog] r34981 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Sat Jun 2 17:00:52 CEST 2012


Author: reimar
Date: Sat Jun  2 17:00:52 2012
New Revision: 34981

Log:
Temporarily disable nonref_dr until release, it is still too unreliable
currently.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Thu May 31 18:34:45 2012	(r34980)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Sat Jun  2 17:00:52 2012	(r34981)
@@ -248,6 +248,11 @@ static int init(sh_video_t *sh){
     if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_VP8 && lavc_codec->id != CODEC_ID_LAGARITH)
         ctx->do_dr1=1;
     ctx->nonref_dr = lavc_codec->id == CODEC_ID_H264;
+    // temporarily disable nonref_dr for 1.1 release
+    if (ctx->nonref_dr) {
+        ctx->do_dr1 = 0;
+        ctx->nonref_dr = 0;
+    }
     ctx->ip_count= ctx->b_count= 0;
 
     ctx->pic = avcodec_alloc_frame();


More information about the MPlayer-cvslog mailing list