Mercurial > mplayer.hg
changeset 34893:9ca42b4f88e7
Temporarily disable nonref_dr until release, it is still too unreliable
currently.
author | reimar |
---|---|
date | Sat, 02 Jun 2012 15:00:52 +0000 |
parents | b538985dfaac |
children | d67796f04f99 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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();