summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2024-02-01 11:06:38 +0100
committersfan5 <sfan5@live.de>2024-02-02 11:39:47 +0100
commitb2bc3c239ccc8ef661a1554925f15dd5bd9b06be (patch)
treefada8dccd9e2242961128444a859eb06cafb4be2
parentf935dafa24c2d53c0b3f122336bcbcb5c6e4d1a9 (diff)
downloadmpv-b2bc3c239ccc8ef661a1554925f15dd5bd9b06be.tar.bz2
mpv-b2bc3c239ccc8ef661a1554925f15dd5bd9b06be.tar.xz
demux_mf: explain why a printf format is unsupported
-rw-r--r--demux/demux_mf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/demux/demux_mf.c b/demux/demux_mf.c
index 1dad1368ae..3ab6683cfd 100644
--- a/demux/demux_mf.c
+++ b/demux/demux_mf.c
@@ -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;
}