mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
lavf/utils: show the number of stream in case of missing parameter
Increase feedback provided in avformat_find_stream_info().
This commit is contained in:
parent
739ec710c4
commit
5784a46986
@ -2721,9 +2721,9 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
|||||||
char buf[256];
|
char buf[256];
|
||||||
avcodec_string(buf, sizeof(buf), st->codec, 0);
|
avcodec_string(buf, sizeof(buf), st->codec, 0);
|
||||||
av_log(ic, AV_LOG_WARNING,
|
av_log(ic, AV_LOG_WARNING,
|
||||||
"Could not find codec parameters for stream (%s): %s\n"
|
"Could not find codec parameters for stream %d (%s): %s\n"
|
||||||
"Consider increasing the value for the 'analyzeduration' and 'probesize' options\n",
|
"Consider increasing the value for the 'analyzeduration' and 'probesize' options\n",
|
||||||
buf, errmsg);
|
i, buf, errmsg);
|
||||||
} else {
|
} else {
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user