At 2019-07-13 21:34:30, "Li, Zhong" <[email protected]> wrote:
>> From: ffmpeg-devel [mailto:[email protected]] On Behalf
>> Of hwrenx
>> Sent: Friday, July 12, 2019 11:22 PM
>> To: [email protected]
>> Subject: [FFmpeg-devel] [PATCH v3 2/3] lavc/libdavs2.c: change decoder info
>> level
>>
>> Signed-off-by: hwrenx <[email protected]>
>> ---
>> libavcodec/libdavs2.c | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index
>> 218f3ec..1b274a3 100644
>> --- a/libavcodec/libdavs2.c
>> +++ b/libavcodec/libdavs2.c
>> @@ -44,7 +44,9 @@ static av_cold int davs2_init(AVCodecContext *avctx)
>>
>> /* init the decoder */
>> cad->param.threads = avctx->thread_count;
>> - cad->param.info_level = 0;
>> + cad->param.info_level = av_log_get_level() > AV_LOG_INFO
>> + ?
>> DAVS2_LOG_DEBUG
>> + :
>> DAVS2_LOG_WARNING;
>
>How about exactly map AV_LOG_XXX to DAVS2_LOG_XXX?
Exactly, a map would be better. Two levels are enough now, and I will update if
there are new versions of these patches.
Thanks : )
Huiwen REN
>_______________________________________________
>ffmpeg-devel mailing list
>[email protected]
>https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>To unsubscribe, visit link above, or email
>[email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".