diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-19 12:42:05 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-19 13:26:59 +0100 |
commit | 61fc1cbfbd82ebd4edf6866331280b3dfb06e7b1 (patch) | |
tree | dd817d2e74e11c810d5273470fdc61575ee8ecee /ffmpeg.c | |
parent | 484d42a0977e50fb66b8ac16eb32c63d2209be9e (diff) | |
download | ffmpeg-61fc1cbfbd82ebd4edf6866331280b3dfb06e7b1.tar.gz |
ffmpeg: fix printed timestamp for droped frames
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -956,7 +956,7 @@ static void do_video_out(AVFormatContext *s, nb_frames_drop++; av_log(NULL, AV_LOG_VERBOSE, "*** dropping frame %d from stream %d at ts %"PRId64"\n", - ost->frame_number, ost->st->index, next_picture->pts); + ost->frame_number, ost->st->index, ost->last_frame->pts); } if (nb_frames > (nb0_frames && ost->last_droped) + (nb_frames > nb0_frames)) { if (nb_frames > dts_error_threshold * 30) { |