[FFmpeg-devel] [PATCH] libavformat/mov: Change log line from debug to trace

James Almer jamrial at gmail.com
Sat Aug 7 04:36:55 EEST 2021


On 8/6/2021 10:31 PM, Soft Works wrote:
> It's creating too much noise, even for debug
> 
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>   libavformat/mov.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index e95d3d2a90..46bc7b5aa3 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/mov.c
> @@ -3611,7 +3611,7 @@ static void mov_fix_index(MOVContext *mov, AVStream *st)
>   
>               if (ctts_data_old && ctts_index_old < ctts_count_old) {
>                   curr_ctts = ctts_data_old[ctts_index_old].duration;
> -                av_log(mov->fc, AV_LOG_DEBUG, "stts: %"PRId64" ctts: %"PRId64", ctts_index: %"PRId64", ctts_count: %"PRId64"\n",
> +                av_log(mov->fc, AV_LOG_TRACE, "stts: %"PRId64" ctts: %"PRId64", ctts_index: %"PRId64", ctts_count: %"PRId64"\n",
>                          curr_cts, curr_ctts, ctts_index_old, ctts_count_old);
>                   curr_cts += curr_ctts;
>                   ctts_sample_old++;

I have noticed it too, and agree.

Will apply soon, thanks.


More information about the ffmpeg-devel mailing list