mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avconv: always print stats with AV_LOG_INFO
It's now possible to disable printing stats during encoding with -nostats, so there's no reason to print them differently depending on whether it's last report or not.
This commit is contained in:
parent
667d98182d
commit
f5646a325b
2
avconv.c
2
avconv.c
@ -1407,7 +1407,7 @@ static void print_report(OutputFile *output_files,
|
||||
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " dup=%d drop=%d",
|
||||
nb_frames_dup, nb_frames_drop);
|
||||
|
||||
av_log(NULL, is_last_report ? AV_LOG_WARNING : AV_LOG_INFO, "%s \r", buf);
|
||||
av_log(NULL, AV_LOG_INFO, "%s \r", buf);
|
||||
|
||||
fflush(stderr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user