[FFmpeg-cvslog] r20842 - trunk/libavformat/utils.c

michael subversion
Sun Dec 13 23:15:51 CET 2009


Author: michael
Date: Sun Dec 13 23:15:51 2009
New Revision: 20842

Log:
Debug av_log() about stream probing from ffmbc.

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Sun Dec 13 23:12:20 2009	(r20841)
+++ trunk/libavformat/utils.c	Sun Dec 13 23:15:51 2009	(r20842)
@@ -609,7 +609,7 @@ int av_read_packet(AVFormatContext *s, A
 
         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, A
                 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);
                 }
             }
         }



More information about the ffmpeg-cvslog mailing list