# HG changeset patch # User reimar # Date 1338649252 0 # Node ID 9ca42b4f88e759379363803d243a388adf9aac3d # Parent b538985dfaac4f15ee72c5717cce1712cdc583bb Temporarily disable nonref_dr until release, it is still too unreliable currently. diff -r b538985dfaac -r 9ca42b4f88e7 libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Thu May 31 16:34:45 2012 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sat Jun 02 15:00:52 2012 +0000 @@ -248,6 +248,11 @@ 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();