summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-16 00:29:23 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-07-18 18:08:57 +0200
commit739ec710c4e89537f3eb327a1ebddb8ceb5f2256 (patch)
treeda83294a8f4e2f1ee48c9757daaaaf8f1de9a34d /libavformat
parenta293549b32fd609a6eec6b4d3bd40463eed0f2d2 (diff)
lavf/utils: suggest what to do in case of missing codec information
In particular, fix trac issue #218.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 79e4f03300..1fd7f75f2a 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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;