diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 01:47:54 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 01:47:54 +0000 |
commit | 657eca1f8b7bd38fe6c0b0726c6e70800406089b (patch) | |
tree | b5f78b8ae3861c3fad2f4d03da3e2b5515aadff4 /libavformat/utils.c | |
parent | 0355537605d1455fb2bba6e1f644d0d418efb676 (diff) | |
download | ffmpeg-657eca1f8b7bd38fe6c0b0726c6e70800406089b.tar.gz |
Upgrade a few important messages to AV_LOG_WARNING.
Originally committed as revision 19872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 6 |
1 files 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; |