summaryrefslogtreecommitdiff
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-17 00:15:48 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-07-03 23:23:29 +0200
commit4e2899dd31a520ffb3c81c98eab75f56b1719934 (patch)
tree9333d13d420a6b65cbf79cfa6ebd7ca840ef8ef1 /libavformat/segment.c
parent597282efa79ecd28036e44176cea7187c8b09f05 (diff)
lavf/segment: add more information in log message in seg_write_packet()
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index bdcf1276c7..4902aff36a 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -208,8 +208,8 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
end_pts, AV_TIME_BASE_Q) >= 0 &&
pkt->flags & AV_PKT_FLAG_KEY) {
- av_log(s, AV_LOG_DEBUG, "Next segment starts at %d %"PRId64"\n",
- pkt->stream_index, pkt->pts);
+ av_log(s, AV_LOG_DEBUG, "Next segment starts with packet stream:%d pts:%"PRId64" pts_time:%f\n",
+ pkt->stream_index, pkt->pts, pkt->pts * av_q2d(st->time_base));
if ((ret = segment_end(s)) < 0 || (ret = segment_start(s)) < 0)
goto fail;