summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-26 17:12:07 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-26 17:12:07 +0200
commit55fa883b30054fe5a222120136ace0532c7b301c (patch)
treef5b57f8643cd428e7d056286171fae3046f805cb
parent506ffa793f16ba1431435ecf0cd05b9be78f972e (diff)
downloadffmpeg-streaming-55fa883b30054fe5a222120136ace0532c7b301c.zip
ffmpeg-streaming-55fa883b30054fe5a222120136ace0532c7b301c.tar.gz
ffmpeg: fix units of next_?ts in debug printing routine.
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 ff17ba3..736b7e1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3771,8 +3771,8 @@ static int transcode(void)
av_log(NULL, AV_LOG_INFO, "demuxer -> ist_index:%d type:%s "
"next_dts:%s next_dts_time:%s next_pts:%s next_pts_time:%s pkt_pts:%s pkt_pts_time:%s pkt_dts:%s pkt_dts_time:%s off:%"PRId64"\n",
ist_index, av_get_media_type_string(ist->st->codec->codec_type),
- av_ts2str(ist->next_dts), av_ts2timestr(ist->next_dts, &ist->st->time_base),
- av_ts2str(ist->next_pts), av_ts2timestr(ist->next_pts, &ist->st->time_base),
+ av_ts2str(ist->next_dts), av_ts2timestr(ist->next_dts, &AV_TIME_BASE_Q),
+ av_ts2str(ist->next_pts), av_ts2timestr(ist->next_pts, &AV_TIME_BASE_Q),
av_ts2str(pkt.pts), av_ts2timestr(pkt.pts, &ist->st->time_base),
av_ts2str(pkt.dts), av_ts2timestr(pkt.dts, &ist->st->time_base),
input_files[ist->file_index]->ts_offset);
OpenPOWER on IntegriCloud