aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-03-17 01:01:02 -0300
committerJames Almer <jamrial@gmail.com>2016-03-17 11:15:09 -0300
commitf875ba48739f59691661393eed1f7cc2371c93f1 (patch)
tree756815bc7343107f8afddc4c870940af65695f05 /libavcodec
parent626b6b769ced6d3e55d2661985ab2a1cb89f481e (diff)
downloadffmpeg-f875ba48739f59691661393eed1f7cc2371c93f1.tar.gz
libwebpenc_animencoder: print library messages in verbose log levels
Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libwebpenc_animencoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libwebpenc_animencoder.c b/libavcodec/libwebpenc_animencoder.c
index 35c456adef..61ecae8a8a 100644
--- a/libavcodec/libwebpenc_animencoder.c
+++ b/libavcodec/libwebpenc_animencoder.c
@@ -43,6 +43,7 @@ static av_cold int libwebp_anim_encode_init(AVCodecContext *avctx)
LibWebPAnimContext *s = avctx->priv_data;
WebPAnimEncoderOptions enc_options = { 0 };
WebPAnimEncoderOptionsInit(&enc_options);
+ enc_options.verbose = av_log_get_level() >= AV_LOG_VERBOSE;
// TODO(urvang): Expose some options on command-line perhaps.
s->enc = WebPAnimEncoderNew(avctx->width, avctx->height, &enc_options);
if (!s->enc)