From 0f649d667e0a13302f32998ba738c20d5aa3040e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 14 Dec 2009 12:40:10 +0000 Subject: [PATCH] Include dup/drop info if any frames where duplicated or droped instead of when verbose>1. From ffmbc0.3 Originally committed as revision 20865 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 9df99dd..ffc0fc0 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1241,7 +1241,7 @@ static void print_report(AVFormatContext **output_files, "size=%8.0fkB time=%0.2f bitrate=%6.1fkbits/s", (double)total_size / 1024, ti1, bitrate); - if (verbose > 1) + if (nb_frames_dup || nb_frames_drop) snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " dup=%d drop=%d", nb_frames_dup, nb_frames_drop); -- 2.7.4