diff options
author | James Almer <[email protected]> | 2016-03-17 01:01:02 -0300 |
---|---|---|
committer | James Almer <[email protected]> | 2016-03-17 12:57:23 -0300 |
commit | 175110a04128bd9f4aea1a185d3da4a4a2deee60 (patch) | |
tree | 67468f24e86af15cc115eda5d9e3f61360116150 | |
parent | 76c157cfd75419010197c045b61cfebd346b898a (diff) |
libwebpenc_animencoder: print library messages in verbose log levels
Reviewed-by: James Zern <[email protected]>
Signed-off-by: James Almer <[email protected]>
(cherry picked from commit f875ba48739f59691661393eed1f7cc2371c93f1)
-rw-r--r-- | libavcodec/libwebpenc_animencoder.c | 1 |
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) |