changeset 36417:9e68e53481e4

Display messages that can be confusing only with -v. The VO initialization line will still say which format was chosen, including what kind of hardware acceleration.
author reimar
date Sat, 16 Nov 2013 08:10:04 +0000
parents 93473818b259
children 155e6100949c
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sat Nov 16 08:07:08 2013 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sat Nov 16 08:10:04 2013 +0000
@@ -297,7 +297,7 @@
         avctx->get_buffer      = get_buffer;
         avctx->release_buffer  = release_buffer;
         avctx->reget_buffer    = get_buffer;
-        mp_msg(MSGT_DECVIDEO, MSGL_INFO, IMGFMT_IS_XVMC(imgfmt) ?
+        mp_msg(MSGT_DECVIDEO, MSGL_V, IMGFMT_IS_XVMC(imgfmt) ?
                MSGTR_MPCODECS_XVMCAcceleratedMPEG2 :
                "[VD_FFMPEG] VDPAU accelerated decoding\n");
         if (ctx->use_hwaccel) {
@@ -1103,7 +1103,7 @@
             continue;
         imgfmt = pixfmt2imgfmt2(fmt[i], avctx->codec_id);
         if(!IMGFMT_IS_HWACCEL(imgfmt)) continue;
-        mp_msg(MSGT_DECVIDEO, MSGL_INFO, MSGTR_MPCODECS_TryingPixfmt, i);
+        mp_msg(MSGT_DECVIDEO, MSGL_V, MSGTR_MPCODECS_TryingPixfmt, i);
         if(init_vo(sh, fmt[i]) >= 0) {
             break;
         }