[FFmpeg-cvslog] avformat/utils: make "first_dts not matching first dts in the queue" message more informative

Michael Niedermayer git at videolan.org
Sun Oct 27 18:08:58 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Sep 28 04:06:13 2013 +0200| [4307026243c06715c7d4fa5f56ba4b2eb7f84eac] | committer: Michael Niedermayer

avformat/utils: make "first_dts not matching first dts in the queue" message more informative

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4307026243c06715c7d4fa5f56ba4b2eb7f84eac
---

 libavformat/utils.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 77ae7ca..2658136 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) {



More information about the ffmpeg-cvslog mailing list