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

michael subversion
Wed Sep 16 03:47:54 CEST 2009


Author: michael
Date: Wed Sep 16 03:47:54 2009
New Revision: 19872

Log:
Upgrade a few important messages to AV_LOG_WARNING.

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Wed Sep 16 03:17:39 2009	(r19871)
+++ trunk/libavformat/utils.c	Wed Sep 16 03:47:54 2009	(r19872)
@@ -2085,7 +2085,7 @@ int av_find_stream_info(AVFormatContext 
         /* 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 
                 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 
         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;



More information about the ffmpeg-cvslog mailing list