[FFmpeg-cvslog] lavf: silence max_analyze_duration warning

wm4 git at videolan.org
Wed Jun 26 01:41:26 CEST 2013


ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Wed Jun 26 01:17:27 2013 +0200| [e59fb3f8b18adf0bbeee7946a177b961b6a719ea] | committer: Michael Niedermayer

lavf: silence max_analyze_duration warning

This is part of normal operation with some formats. A warning should
indicate that something is wrong, and the documentation for AV_LOG_WARNING
says: "Something somehow does not look correct."

Since this message is most likely useful for debugging only, raise the
log level accordingly.

Plus-one-by: Stefano Sabatini <stefasab at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index ce92af6..71fca24 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2815,7 +2815,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
                 t = FFMAX(t, av_rescale_q(st->codec_info_nb_frames, av_inv_q(st->avg_frame_rate), AV_TIME_BASE_Q));
 
             if (t >= ic->max_analyze_duration) {
-                av_log(ic, AV_LOG_WARNING, "max_analyze_duration %d reached at %"PRId64" microseconds\n", ic->max_analyze_duration, t);
+                av_log(ic, AV_LOG_VERBOSE, "max_analyze_duration %d reached at %"PRId64" microseconds\n", ic->max_analyze_duration, t);
                 break;
             }
             if (pkt->duration) {



More information about the ffmpeg-cvslog mailing list