summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-15 00:43:43 +0200
committerwm4 <wm4@nowhere>2013-09-15 00:43:43 +0200
commit534842b69400698435c7937f15a1347ba12ff605 (patch)
tree24585b9fd66a6411da76277e763587de6cdd877e
parent47715fd1f7ec599f655a46594e2d12a0e5290303 (diff)
downloadmpv-534842b69400698435c7937f15a1347ba12ff605.tar.bz2
mpv-534842b69400698435c7937f15a1347ba12ff605.tar.xz
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.)
-rw-r--r--mpvcore/av_log.c2
1 files changed, 1 insertions, 1 deletions
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)