lavf/utils: suggest what to do in case of missing codec information
authorStefano Sabatini <stefasab@gmail.com>
Sun, 15 Jul 2012 22:29:23 +0000 (00:29 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 18 Jul 2012 16:08:57 +0000 (18:08 +0200)
In particular, fix trac issue #218.

libavformat/utils.c

index 79e4f03..1fd7f75 100644 (file)
@@ -2721,7 +2721,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
                 char buf[256];
                 avcodec_string(buf, sizeof(buf), st->codec, 0);
                 av_log(ic, AV_LOG_WARNING,
-                       "Could not find codec parameters for stream (%s): %s\n",
+                       "Could not find codec parameters for stream (%s): %s\n"
+                       "Consider increasing the value for the 'analyzeduration' and 'probesize' options\n",
                        buf, errmsg);
             } else {
                 ret = 0;