Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-13 06:27:41 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-09-21 21:46:50 +0400
commit56634b2328ebe7e539278e7f4a6e8fa5973a25ad (patch)
tree51ea19a1ea23cf5a57f87fc1090fb0a58e069be9 /libavformat/utils.c
parent1072498081a5c8656db6df124386e171d25729fa (diff)
libavformat/utils: print ts in the "invalid dts/pts combination" case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 38670356f990da1efb906232768836d83356855b)
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index a582ddcc61..d24c7a0b5e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -995,7 +995,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
// we take the conservative approach and discard both
// Note, if this is misbehaving for a H.264 file then possibly presentation_delayed is not set correctly.
if(delay==1 && pkt->dts == pkt->pts && pkt->dts != AV_NOPTS_VALUE && presentation_delayed){
- av_log(s, AV_LOG_DEBUG, "invalid dts/pts combination\n");
+ av_log(s, AV_LOG_DEBUG, "invalid dts/pts combination %Ld\n", pkt->dts);
pkt->dts= pkt->pts= AV_NOPTS_VALUE;
}