1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

FFmpeg: raise log level to info

Log level info is the default in FFmpeg and its quite hidden anyway so users
should not see it anyway unless they look/search for it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Benjamin Drung <bdrung@debian.org>
This commit is contained in:
benjamin.drung@gmail.com 2014-05-27 21:47:29 +00:00
parent a4e0ff05fb
commit 16f834f0c3

View File

@ -125,7 +125,7 @@ wxString GetFFmpegVersion(wxWindow * WXUNUSED(parent))
void av_log_wx_callback(void* ptr, int level, const char* fmt, va_list vl) void av_log_wx_callback(void* ptr, int level, const char* fmt, va_list vl)
{ {
//Most of this stuff is taken from FFmpeg tutorials and FFmpeg itself //Most of this stuff is taken from FFmpeg tutorials and FFmpeg itself
int av_log_level = AV_LOG_WARNING; int av_log_level = AV_LOG_INFO;
AVClass* avc = ptr ? *(AVClass**)ptr : NULL; AVClass* avc = ptr ? *(AVClass**)ptr : NULL;
if (level > av_log_level) if (level > av_log_level)
return; return;