Commit f875ba48 authored by James Almer's avatar James Almer

libwebpenc_animencoder: print library messages in verbose log levels

Reviewed-by: 's avatarJames Zern <jzern@google.com>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 626b6b76
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment