[FFmpeg-cvslog] lavf: print ts values in pts < dts error message

Michael Niedermayer git at videolan.org
Fri Mar 30 00:23:53 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Mar 29 20:31:14 2012 +0200| [30ced7e69f434bd49b39fb7c8ce02d9ba71babfc] | committer: Michael Niedermayer

lavf: print ts values in pts < dts error message

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

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

 libavformat/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 7e64cf6..4c87cef 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3258,7 +3258,7 @@ static int compute_pkt_fields2(AVFormatContext *s, AVStream *st, AVPacket *pkt){
         return AVERROR(EINVAL);
     }
     if(pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts < pkt->dts){
-        av_log(s, AV_LOG_ERROR, "pts < dts in stream %d\n", st->index);
+        av_log(s, AV_LOG_ERROR, "pts (%"PRId64") < dts (%"PRId64") in stream %d\n", pkt->pts, pkt->dts, st->index);
         return AVERROR(EINVAL);
     }
 



More information about the ffmpeg-cvslog mailing list