0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

demux_mf: explain why a printf format is unsupported

This commit is contained in:
Guido Cella 2024-02-01 11:06:38 +01:00 committed by sfan5
parent f935dafa24
commit b2bc3c239c

View File

@ -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;
} }