aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-29 20:31:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-03-29 20:31:14 +0200
commit30ced7e69f434bd49b39fb7c8ce02d9ba71babfc (patch)
tree0b8d6c218c41b72e1928932c61a571232c3c7544
parent42043646785f419def5ca557f500ee105f4ccb3c (diff)
downloadffmpeg-30ced7e69f434bd49b39fb7c8ce02d9ba71babfc.tar.gz
lavf: print ts values in pts < dts error message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 7e64cf6a9f..4c87cefca7 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);
}