From 4307026243c06715c7d4fa5f56ba4b2eb7f84eac Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 28 Sep 2013 04:06:13 +0200 Subject: [PATCH] avformat/utils: make "first_dts not matching first dts in the queue" message more informative Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 77ae7ca038..265813693a 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -996,7 +996,8 @@ static void update_initial_durations(AVFormatContext *s, AVStream *st, } } if(pktl && pktl->pkt.dts != st->first_dts) { - av_log(s, AV_LOG_DEBUG, "first_dts %s not matching first dts %s in the queue\n", av_ts2str(st->first_dts), av_ts2str(pktl->pkt.dts)); + av_log(s, AV_LOG_DEBUG, "first_dts %s not matching first dts %s (pts %s, duration %d) in the queue\n", + av_ts2str(st->first_dts), av_ts2str(pktl->pkt.dts), av_ts2str(pktl->pkt.pts), pktl->pkt.duration); return; } if(!pktl) {