[MPlayer-cvslog] r34912 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Thu May 17 23:45:24 CEST 2012


Author: reimar
Date: Thu May 17 23:45:24 2012
New Revision: 34912

Log:
Fix hardware-acceleration broken by nonref_dr support.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Wed May 16 23:30:07 2012	(r34911)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Thu May 17 23:45:24 2012	(r34912)
@@ -197,6 +197,7 @@ static void set_format_params(struct AVC
         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


More information about the MPlayer-cvslog mailing list