From f875ba48739f59691661393eed1f7cc2371c93f1 Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 17 Mar 2016 01:01:02 -0300 Subject: libwebpenc_animencoder: print library messages in verbose log levels Reviewed-by: James Zern Signed-off-by: James Almer --- libavcodec/libwebpenc_animencoder.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/libwebpenc_animencoder.c') 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) -- cgit v1.2.1