[FFmpeg-cvslog] avformat/utils: print more information with av_dlog() in compute_pkt_fields()
Michael Niedermayer
git at videolan.org
Tue Oct 14 00:03:19 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 13 23:45:52 2014 +0200| [40f2b16d527319ad8dfd78a7925b984dc05cfa9e] | committer: Michael Niedermayer
avformat/utils: print more information with av_dlog() in compute_pkt_fields()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=40f2b16d527319ad8dfd78a7925b984dc05cfa9e
---
libavformat/utils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index d71fae4..b0554d3 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1046,9 +1046,9 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
presentation_delayed = 1;
av_dlog(NULL,
- "IN delayed:%d pts:%s, dts:%s cur_dts:%s st:%d pc:%p duration:%d\n",
+ "IN delayed:%d pts:%s, dts:%s cur_dts:%s st:%d pc:%p duration:%d delay:%d onein_oneout:%d\n",
presentation_delayed, av_ts2str(pkt->pts), av_ts2str(pkt->dts), av_ts2str(st->cur_dts),
- pkt->stream_index, pc, pkt->duration);
+ pkt->stream_index, pc, pkt->duration, delay, onein_oneout);
/* Interpolate PTS and DTS if they are not present. We skip H264
* currently because delay and has_b_frames are not reliably set. */
if ((delay == 0 || (delay == 1 && pc)) &&
More information about the ffmpeg-cvslog
mailing list