Mercurial > mplayer.hg
changeset 36415:06bdd36f5c46
Fix hardware acceleration notification for VDPAU.
author | reimar |
---|---|
date | Sat, 16 Nov 2013 07:54:17 +0000 |
parents | 41cef3e079b8 |
children | 93473818b259 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sat Nov 16 07:37:32 2013 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sat Nov 16 07:54:17 2013 +0000 @@ -297,7 +297,9 @@ 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;