[FFmpeg-cvslog] lavf/segment: add more information in log message in seg_write_packet()
Stefano Sabatini
git at videolan.org
Tue Jul 3 23:26:57 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Jan 17 00:15:48 2012 +0100| [4e2899dd31a520ffb3c81c98eab75f56b1719934] | committer: Stefano Sabatini
lavf/segment: add more information in log message in seg_write_packet()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e2899dd31a520ffb3c81c98eab75f56b1719934
---
libavformat/segment.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index bdcf127..4902aff 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;
More information about the ffmpeg-cvslog
mailing list