changeset 35615:26a91d76cfda

Disable direct rendering for non-ref frames only again, it still seems to cause issues that need to be debugged and fixed.
author reimar
date Mon, 24 Dec 2012 14:22:46 +0000
parents cd707857326e
children 92ec362e0737
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun Dec 23 02:19:57 2012 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Mon Dec 24 14:22:46 2012 +0000
@@ -247,7 +247,10 @@
 
     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();