diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-06-26 11:28:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-06-26 11:28:24 +0000 |
commit | 3041a4a13df7fe8cf78e91d117a1ddbaa03d52f1 (patch) | |
tree | 75962c8d9be467d787140223aea8f28f38380f3a /libavformat | |
parent | 0c587a4ea8256f12735f5234e783be02532696bb (diff) | |
download | ffmpeg-3041a4a13df7fe8cf78e91d117a1ddbaa03d52f1.tar.gz |
Also print flags with FF_FDEBUG_TS.
Originally committed as revision 13987 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d2ed35d938..7dd9bfaa7e 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -895,11 +895,12 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt) st = s->streams[s->cur_pkt.stream_index]; if(s->debug & FF_FDEBUG_TS) - av_log(s, AV_LOG_DEBUG, "av_read_packet stream=%d, pts=%"PRId64", dts=%"PRId64", size=%d\n", + av_log(s, AV_LOG_DEBUG, "av_read_packet stream=%d, pts=%"PRId64", dts=%"PRId64", size=%d, flags=%d\n", s->cur_pkt.stream_index, s->cur_pkt.pts, s->cur_pkt.dts, - s->cur_pkt.size); + s->cur_pkt.size, + s->cur_pkt.flags); s->cur_st = st; s->cur_ptr = s->cur_pkt.data; @@ -920,11 +921,12 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt) } } if(s->debug & FF_FDEBUG_TS) - av_log(s, AV_LOG_DEBUG, "av_read_frame_internal stream=%d, pts=%"PRId64", dts=%"PRId64", size=%d\n", + av_log(s, AV_LOG_DEBUG, "av_read_frame_internal stream=%d, pts=%"PRId64", dts=%"PRId64", size=%d, flags=%d\n", pkt->stream_index, pkt->pts, pkt->dts, - pkt->size); + pkt->size, + pkt->flags); return 0; } |