aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-12-14 12:40:10 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-12-14 12:40:10 +0000
commit0f649d667e0a13302f32998ba738c20d5aa3040e (patch)
treeb92b3bfdfd239a373bc4db211d43794c9dc222f1
parented30e518e3efb288d934b86a1fa8269c8349abf5 (diff)
downloadffmpeg-0f649d667e0a13302f32998ba738c20d5aa3040e.tar.gz
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
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9df99dd1be..ffc0fc0a89 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);