diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-03-17 07:15:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-03-24 06:16:31 +0100 |
commit | 781d97fd54b1f0d8f4f7536dbd932dca6445476e (patch) | |
tree | 5dd7384c542668f828a5cfbf75517a381e494700 | |
parent | b4679ecdbd80ae050094733f137ccd7ebf1316ab (diff) | |
download | ffmpeg-781d97fd54b1f0d8f4f7536dbd932dca6445476e.tar.gz |
avconv: remove unused nb_frames_dup
Frame duplication now happens in vf_fps.
-rw-r--r-- | avconv.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -87,7 +87,6 @@ static FILE *vstats_file; static int64_t video_size = 0; static int64_t audio_size = 0; static int64_t extra_size = 0; -static int nb_frames_dup = 0; static int nb_frames_drop = 0; @@ -849,9 +848,9 @@ static void print_report(int is_last_report, int64_t timer_start) "size=%8.0fkB time=%0.2f bitrate=%6.1fkbits/s", (double)total_size / 1024, ti1, bitrate); - 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); + if (nb_frames_drop) + snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " drop=%d", + nb_frames_drop); av_log(NULL, AV_LOG_INFO, "%s \r", buf); |