[FFmpeg-cvslog] libwebpenc_animencoder: print library messages in verbose log levels
James Almer
git at videolan.org
Thu Mar 17 17:38:14 CET 2016
ffmpeg | branch: release/3.0 | James Almer <jamrial at gmail.com> | Thu Mar 17 01:01:02 2016 -0300| [373bc77a356ad7e2cd51bd316c03750ad131c8fb] | committer: James Almer
libwebpenc_animencoder: print library messages in verbose log levels
Reviewed-by: James Zern <jzern at google.com>
Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit f875ba48739f59691661393eed1f7cc2371c93f1)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=373bc77a356ad7e2cd51bd316c03750ad131c8fb
---
libavcodec/libwebpenc_animencoder.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/libwebpenc_animencoder.c b/libavcodec/libwebpenc_animencoder.c
index 35c456a..61ecae8 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)
More information about the ffmpeg-cvslog
mailing list