summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-10-09 16:32:54 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-09 17:15:18 +0200
commitf5646a325b94a077bf9849d5f6a4b3d4e69ed37b (patch)
treefda6b71ba0ff7332087c6843237ec52fa1e93e43
parent667d98182d9ced97fc7d494c668a8e5806cfa883 (diff)
downloadffmpeg-streaming-f5646a325b94a077bf9849d5f6a4b3d4e69ed37b.zip
ffmpeg-streaming-f5646a325b94a077bf9849d5f6a4b3d4e69ed37b.tar.gz
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.
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index f1d23ed..9b69e1d 100644
--- a/avconv.c
+++ b/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);
OpenPOWER on IntegriCloud