ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Wed Nov 19 
12:42:05 2014 +0100| [61fc1cbfbd82ebd4edf6866331280b3dfb06e7b1] | committer: 
Michael Niedermayer

ffmpeg: fix printed timestamp for droped frames

Signed-off-by: Michael Niedermayer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=61fc1cbfbd82ebd4edf6866331280b3dfb06e7b1
---

 ffmpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 30e379f..0f4b2aa 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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) {

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to