changeset 5452:075674a33641 libavformat

Debug av_log() about stream probing from ffmbc.
author michael
date Sun, 13 Dec 2009 22:15:51 +0000
parents c0f40f4293cd
children 39e5af193378
files utils.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sun Dec 13 22:12:20 2009 +0000
+++ b/utils.c	Sun Dec 13 22:15:51 2009 +0000
@@ -609,7 +609,7 @@
 
         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 @@
                 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);
                 }
             }
         }