From 534842b69400698435c7937f15a1347ba12ff605 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 15 Sep 2013 00:43:43 +0200 Subject: av_log: show ffmpeg "info" messages with -v only They are rarely useful in my opinion. This commit was mainly motivated by this message: Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using a tool like VirtualDub or avidemux to fix it. It's what's left over from the "Invalid and inefficient vfw-avi..." warning that used to be printed when playing avi/divx files. Although the new message is much better, it's still rather useless and poses more questions than it answers. Besides, nobody wants to remux a file when playing it, especially not if playback appears to be completely fine. (There are some claims that these files raise CPU usage, but even my old crappy CPU can decode low res avi/divx files at real time at about x35 playback speed.) --- mpvcore/av_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpvcore/av_log.c b/mpvcore/av_log.c index 64e4155415..c233984be9 100644 --- a/mpvcore/av_log.c +++ b/mpvcore/av_log.c @@ -48,7 +48,7 @@ static int av_log_level_to_mp_level(int av_level) if (av_level > AV_LOG_INFO) return MSGL_V; if (av_level > AV_LOG_WARNING) - return MSGL_INFO; + return MSGL_V; if (av_level > AV_LOG_ERROR) return MSGL_WARN; if (av_level > AV_LOG_FATAL) -- cgit v1.2.3