diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-07-16 00:29:23 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-07-18 18:08:57 +0200 |
commit | 739ec710c4e89537f3eb327a1ebddb8ceb5f2256 (patch) | |
tree | da83294a8f4e2f1ee48c9757daaaaf8f1de9a34d /libavformat | |
parent | a293549b32fd609a6eec6b4d3bd40463eed0f2d2 (diff) | |
download | ffmpeg-739ec710c4e89537f3eb327a1ebddb8ceb5f2256.tar.gz |
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.c | 3 |
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; |