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

reimar subversion at mplayerhq.hu
Mon Dec 24 15:22:46 CET 2012


Author: reimar
Date: Mon Dec 24 15:22:46 2012
New Revision: 35709

Log:
Disable direct rendering for non-ref frames only again, it still
seems to cause issues that need to be debugged and fixed.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Sun Dec 23 03:19:57 2012	(r35708)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Mon Dec 24 15:22:46 2012	(r35709)
@@ -247,7 +247,10 @@ 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)
         ctx->do_dr1=1;
-    ctx->nonref_dr = lavc_codec->id == CODEC_ID_H264;
+    // TODO: fix and enable again. This currently causes issues when using filters
+    // and seeking, usually failing with the "Ran out of numbered images" message,
+    // but bugzilla #2118 might be related as well.
+    //ctx->nonref_dr = lavc_codec->id == CODEC_ID_H264;
     ctx->ip_count= ctx->b_count= 0;
 
     ctx->pic = avcodec_alloc_frame();


More information about the MPlayer-cvslog mailing list