mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 00:19:32 +00:00
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.)
This commit is contained in:
parent
47715fd1f7
commit
534842b694
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user