lavf/utils: suggest what to do in case of missing codec information

In particular, fix trac issue #218.
This commit is contained in:
Stefano Sabatini 2012-07-16 00:29:23 +02:00
parent a293549b32
commit 739ec710c4
1 changed files with 2 additions and 1 deletions

View 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;