[FFmpeg-cvslog] avformat/utils: in debug mode, print number of streams found before avformat_find_stream_info()

Aman Gupta git at videolan.org
Tue Jun 14 21:49:24 CEST 2016


ffmpeg | branch: master | Aman Gupta <aman at tmm1.net> | Tue Jun 14 11:08:54 2016 -0700| [ddffafc0b0496564f9d8570fb03ce1d6bf994852] | committer: Michael Niedermayer

avformat/utils: in debug mode, print number of streams found before avformat_find_stream_info()

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddffafc0b0496564f9d8570fb03ce1d6bf994852
---

 libavformat/utils.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 25c9a1b..494379a 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3297,8 +3297,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
     }
 
     if (ic->pb)
-        av_log(ic, AV_LOG_DEBUG, "Before avformat_find_stream_info() pos: %"PRId64" bytes read:%"PRId64" seeks:%d\n",
-               avio_tell(ic->pb), ic->pb->bytes_read, ic->pb->seek_count);
+        av_log(ic, AV_LOG_DEBUG, "Before avformat_find_stream_info() pos: %"PRId64" bytes read:%"PRId64" seeks:%d nb_streams:%d\n",
+               avio_tell(ic->pb), ic->pb->bytes_read, ic->pb->seek_count, ic->nb_streams);
 
     for (i = 0; i < ic->nb_streams; i++) {
         const AVCodec *codec;



More information about the ffmpeg-cvslog mailing list