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
1 changed files with 3 additions and 1 deletions

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