Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 34824:59bac49bba26
Fix hardware-acceleration broken by nonref_dr support.
author | reimar |
---|---|
date | Thu, 17 May 2012 21:45:24 +0000 |
parents | 21e672205f9f |
children | bbbe5519f1e7 |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Wed May 16 21:30:07 2012 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu May 17 21:45:24 2012 +0000 @@ -197,6 +197,7 @@ sh_video_t *sh = avctx->opaque; vd_ffmpeg_ctx *ctx = sh->context; ctx->do_dr1 = 1; + ctx->nonref_dr = 0; ctx->do_slices = 1; // HACK: FFmpeg thread handling is a major mess and // hinders any attempt to decide on hwaccel after the