Commit 61fc1cbf authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix printed timestamp for droped frames

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 484d42a0
...@@ -956,7 +956,7 @@ static void do_video_out(AVFormatContext *s, ...@@ -956,7 +956,7 @@ static void do_video_out(AVFormatContext *s,
nb_frames_drop++; nb_frames_drop++;
av_log(NULL, AV_LOG_VERBOSE, av_log(NULL, AV_LOG_VERBOSE,
"*** dropping frame %d from stream %d at ts %"PRId64"\n", "*** 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 > (nb0_frames && ost->last_droped) + (nb_frames > nb0_frames)) {
if (nb_frames > dts_error_threshold * 30) { if (nb_frames > dts_error_threshold * 30) {
......
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