Commit 0f649d66 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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://
parent ed30e518
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment