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
release/0.6
Michael Niedermayer 15 years ago
parent ed30e518e3
commit 0f649d667e
  1. 2
      ffmpeg.c

@ -1241,7 +1241,7 @@ static void print_report(AVFormatContext **output_files,
"size=%8.0fkB time=%0.2f bitrate=%6.1fkbits/s", "size=%8.0fkB time=%0.2f bitrate=%6.1fkbits/s",
(double)total_size / 1024, ti1, bitrate); (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", snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " dup=%d drop=%d",
nb_frames_dup, nb_frames_drop); nb_frames_dup, nb_frames_drop);

Loading…
Cancel
Save