changeset 34824:59bac49bba26

Fix hardware-acceleration broken by nonref_dr support.
author reimar
date Thu, 17 May 2012 21:45:24 +0000
parents 2960cd0eef6f
children 5ed9693f8071
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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