git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
484d42a
)
ffmpeg: fix printed timestamp for droped frames
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 19 Nov 2014 11:42:05 +0000
(12:42 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 19 Nov 2014 12:26:59 +0000
(13:26 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
30e379f
..
0f4b2aa
100644
(file)
--- 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_pictur
e->pts);
+ ost->frame_number, ost->st->index,
ost->last_fram
e->pts);
}
if (nb_frames > (nb0_frames && ost->last_droped) + (nb_frames > nb0_frames)) {
if (nb_frames > dts_error_threshold * 30) {