mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 13:51:14 +00:00
demux_mf: explain why a printf format is unsupported
This commit is contained in:
parent
f935dafa24
commit
b2bc3c239c
@ -186,7 +186,9 @@ static mf_t *open_mf_pattern(void *talloc_ctx, struct demuxer *d, char *filename
|
|||||||
|
|
||||||
// nspec==0 (zero specifiers) is rejected because fname wouldn't advance.
|
// nspec==0 (zero specifiers) is rejected because fname wouldn't advance.
|
||||||
if (bad_spec || nspec != 1) {
|
if (bad_spec || nspec != 1) {
|
||||||
mp_err(log, "unsupported expr format: '%s'\n", filename);
|
mp_err(log,
|
||||||
|
"unsupported expr format: '%s' - exactly one format specifier of the form %%[.][NUM]d is expected\n",
|
||||||
|
filename);
|
||||||
goto exit_mf;
|
goto exit_mf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user