summaryrefslogtreecommitdiffstats
path: root/mpvcore/m_option.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/m_option.c')
-rw-r--r--mpvcore/m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/m_option.c b/mpvcore/m_option.c
index cda2569454..066500cd71 100644
--- a/mpvcore/m_option.c
+++ b/mpvcore/m_option.c
@@ -1563,7 +1563,7 @@ static int parse_imgfmt(const m_option_t *opt, struct bstr name,
return M_OPT_EXIT - 1;
}
- unsigned int fmt = mp_imgfmt_from_name(param, false);
+ unsigned int fmt = mp_imgfmt_from_name(param, true);
if (!fmt) {
mp_msg(MSGT_CFGPARSER, MSGL_ERR,
"Option %.*s: unknown format name: '%.*s'\n",