diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-12-14 12:40:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-12-14 12:40:10 +0000 |
commit | 0f649d667e0a13302f32998ba738c20d5aa3040e (patch) | |
tree | b92b3bfdfd239a373bc4db211d43794c9dc222f1 | |
parent | ed30e518e3efb288d934b86a1fa8269c8349abf5 (diff) | |
download | ffmpeg-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |