projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5acad50
)
lavf/segment: show incoming packet duration in debug message
author
Stefano Sabatini
<stefasab@gmail.com>
Thu, 17 Jul 2014 14:35:36 +0000
(16:35 +0200)
committer
Stefano Sabatini
<stefasab@gmail.com>
Thu, 17 Jul 2014 14:51:51 +0000
(16:51 +0200)
libavformat/segment.c
patch
|
blob
|
history
diff --git
a/libavformat/segment.c
b/libavformat/segment.c
index
7c3a3c5
..
f1147a7
100644
(file)
--- a/
libavformat/segment.c
+++ b/
libavformat/segment.c
@@
-707,8
+707,9
@@
static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
}
}
- av_dlog(s, "packet stream:%d pts:%s pts_time:%s is_key:%d frame:%d\n",
+ av_dlog(s, "packet stream:%d pts:%s pts_time:%s
duration_time:%s
is_key:%d frame:%d\n",
pkt->stream_index, av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base),
+ av_ts2timestr(pkt->duration, &st->time_base),
pkt->flags & AV_PKT_FLAG_KEY,
pkt->stream_index == seg->reference_stream_index ? seg->frame_count : -1);