# HG changeset patch # User reimar # Date 1356358966 0 # Node ID 26a91d76cfdaa81a40f7572817e2eb935c40f6eb # Parent cd707857326e87ed5ae03024c14e9aad1693b953 Disable direct rendering for non-ref frames only again, it still seems to cause issues that need to be debugged and fixed. diff -r cd707857326e -r 26a91d76cfda libmpcodecs/vd_ffmpeg.c --- 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();