aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-08 15:49:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-08 15:49:21 +0100
commit8ea81805d4bcc4b6e56c8bbbdc24c0bd753ca287 (patch)
treedc9e589dd26763cf0140c793bf8bf20788ce65e2
parentc0be67cac167c9ced8dbadf80546457c6d11bad8 (diff)
downloadffmpeg-8ea81805d4bcc4b6e56c8bbbdc24c0bd753ca287.tar.gz
ffmpeg: print more details and rescaled timestamps in debug code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 65e476a13d..0954195940 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3027,9 +3027,9 @@ static int transcode(OutputFile *output_files, int nb_output_files,
if (pkt.dts != AV_NOPTS_VALUE)
pkt.dts *= ist->ts_scale;
- //fprintf(stderr, "next:%"PRId64" dts:%"PRId64" off:%"PRId64" %d\n",
+ //fprintf(stderr, "next:%"PRId64" dts:%"PRId64"/%"PRId64" off:%"PRId64" %d\n",
// ist->next_dts,
- // pkt.dts, input_files[ist->file_index].ts_offset,
+ // ist->dts, av_rescale_q(pkt.dts, ist->st->time_base, AV_TIME_BASE_Q), input_files[ist->file_index].ts_offset,
// ist->st->codec->codec_type);
if (pkt.dts != AV_NOPTS_VALUE && ist->next_dts != AV_NOPTS_VALUE
&& (is->iformat->flags & AVFMT_TS_DISCONT)) {