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

reimar subversion at mplayerhq.hu
Sat Nov 16 08:54:17 CET 2013


Author: reimar
Date: Sat Nov 16 08:54:17 2013
New Revision: 36511

Log:
Fix hardware acceleration notification for VDPAU.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Sat Nov 16 08:37:32 2013	(r36510)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Sat Nov 16 08:54:17 2013	(r36511)
@@ -297,7 +297,9 @@ static void set_format_params(struct AVC
         avctx->get_buffer      = get_buffer;
         avctx->release_buffer  = release_buffer;
         avctx->reget_buffer    = get_buffer;
-        mp_msg(MSGT_DECVIDEO, MSGL_INFO, MSGTR_MPCODECS_XVMCAcceleratedMPEG2);
+        mp_msg(MSGT_DECVIDEO, MSGL_INFO, IMGFMT_IS_XVMC(imgfmt) ?
+               MSGTR_MPCODECS_XVMCAcceleratedMPEG2 :
+               "[VD_FFMPEG] VDPAU accelerated decoding\n");
         if (ctx->use_hwaccel) {
             avctx->draw_horiz_band = NULL;
             avctx->slice_flags = 0;


More information about the MPlayer-cvslog mailing list