summaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-09-06 23:20:10 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-09-07 09:59:12 +0200
commit911519caec2346fc7728bca9840ffc000e866161 (patch)
tree0a4305d4c2bcef4d6f251fd5d891e86ddd6a0909 /libavcodec/libx264.c
parentdc5fcdb896544d8e130eecf5934cc142b8320d61 (diff)
lavc/libx264: remap X264_LOG_INFO loglevel from AV_LOG_INFO to VERBOSE
AV_LOG_INFO is more geared towards messages to be read by the user, the statistics shown by libx264 with X264_LOG_INFO are more useful at the debugging level. Help reducing the log spam.
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index f2f899024f..27dadd4ca7 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -79,7 +79,7 @@ static void X264_log(void *p, int level, const char *fmt, va_list args)
static const int level_map[] = {
[X264_LOG_ERROR] = AV_LOG_ERROR,
[X264_LOG_WARNING] = AV_LOG_WARNING,
- [X264_LOG_INFO] = AV_LOG_INFO,
+ [X264_LOG_INFO] = AV_LOG_VERBOSE,
[X264_LOG_DEBUG] = AV_LOG_DEBUG
};