diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-12-13 22:15:51 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-12-13 22:15:51 +0000 |
commit | 0e500e0db2d9667e60c39fd81ce730994dc0a5c6 (patch) | |
tree | 2c24c9c2ef0ec20c6626c8dc6a4d1d9a57093604 | |
parent | 0cd55b0c18934adc2afb6f7249105c3f6adc2d12 (diff) | |
download | ffmpeg-0e500e0db2d9667e60c39fd81ce730994dc0a5c6.tar.gz |
Debug av_log() about stream probing from ffmbc.
Originally committed as revision 20842 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d55b0c52ce..da35ad7ad2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -609,7 +609,7 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt) if(st->codec->codec_id == CODEC_ID_PROBE){ AVProbeData *pd = &st->probe_data; - + av_log(s, AV_LOG_DEBUG, "probing stream %d\n", st->index); --st->probe_packets; pd->buf = av_realloc(pd->buf, pd->buf_size+pkt->size+AVPROBE_PADDING_SIZE); @@ -622,6 +622,7 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt) if(st->codec->codec_id != CODEC_ID_PROBE){ pd->buf_size=0; av_freep(&pd->buf); + av_log(s, AV_LOG_DEBUG, "probed stream %d\n", st->index); } } } |