At 2019-07-13 21:34:30, "Li, Zhong" <zhong...@intel.com> wrote:
>> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
>> Of hwrenx
>> Sent: Friday, July 12, 2019 11:22 PM
>> To: ffmpeg-devel@ffmpeg.org
>> Subject: [FFmpeg-devel] [PATCH v3 2/3] lavc/libdavs2.c: change decoder info
>> level
>>
>> Signed-off-by: hwrenx <hwr...@126.com>
>> ---
>> 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
>ffmpeg-devel@ffmpeg.org
>https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>To unsubscribe, visit link above, or email
>ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".