1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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.
This commit is contained in:
Stefano Sabatini 2012-09-06 23:20:10 +02:00
parent dc5fcdb896
commit 911519caec

View File

@ -79,7 +79,7 @@ static void X264_log(void *p, int level, const char *fmt, va_list args)
static const int level_map[] = { static const int level_map[] = {
[X264_LOG_ERROR] = AV_LOG_ERROR, [X264_LOG_ERROR] = AV_LOG_ERROR,
[X264_LOG_WARNING] = AV_LOG_WARNING, [X264_LOG_WARNING] = AV_LOG_WARNING,
[X264_LOG_INFO] = AV_LOG_INFO, [X264_LOG_INFO] = AV_LOG_VERBOSE,
[X264_LOG_DEBUG] = AV_LOG_DEBUG [X264_LOG_DEBUG] = AV_LOG_DEBUG
}; };