From 657eca1f8b7bd38fe6c0b0726c6e70800406089b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 16 Sep 2009 01:47:54 +0000 Subject: [PATCH] Upgrade a few important messages to AV_LOG_WARNING. Originally committed as revision 19872 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 9d2d8ceda5..ffaf159fbf 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2085,7 +2085,7 @@ int av_find_stream_info(AVFormatContext *ic) /* we did not get all the codec info, but we read too much data */ if (read_size >= ic->probesize) { ret = count; - av_log(ic, AV_LOG_DEBUG, "MAX_READ_SIZE:%d reached\n", ic->probesize); + av_log(ic, AV_LOG_WARNING, "MAX_READ_SIZE:%d reached\n", ic->probesize); break; } @@ -2102,7 +2102,7 @@ int av_find_stream_info(AVFormatContext *ic) if (!has_codec_parameters(st->codec)){ char buf[256]; avcodec_string(buf, sizeof(buf), st->codec, 0); - av_log(ic, AV_LOG_INFO, "Could not find codec parameters (%s)\n", buf); + av_log(ic, AV_LOG_WARNING, "Could not find codec parameters (%s)\n", buf); } else { ret = 0; } @@ -2121,7 +2121,7 @@ int av_find_stream_info(AVFormatContext *ic) st = ic->streams[pkt->stream_index]; if(codec_info_nb_frames[st->index]>1) { if (st->time_base.den > 0 && av_rescale_q(codec_info_duration[st->index], st->time_base, AV_TIME_BASE_Q) >= ic->max_analyze_duration){ - av_log(ic, AV_LOG_DEBUG, "max_analyze_duration reached\n"); + av_log(ic, AV_LOG_WARNING, "max_analyze_duration reached\n"); break; } codec_info_duration[st->index] += pkt->duration;