diff options
author | wm4 <wm4@nowhere> | 2020-03-12 14:04:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-03-13 16:50:27 +0100 |
commit | 3006c4ba5dd119160bdcf1d650c66197a44de602 (patch) | |
tree | cda909eb7c3055d9812b9e1ce473493efce6fb66 /options/options.c | |
parent | 06718da79c79a98d5524f42d034b0d406b14e04c (diff) | |
download | mpv-3006c4ba5dd119160bdcf1d650c66197a44de602.tar.bz2 mpv-3006c4ba5dd119160bdcf1d650c66197a44de602.tar.xz |
options: remove min/max support from strings and string lists
We don't really use this anymore. Only --playlist and vf_lavfi filter
names did (to error on empty parameters), but it doesn't really matter.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c index 3eebc2e0df..6443a294f0 100644 --- a/options/options.c +++ b/options/options.c @@ -341,8 +341,7 @@ static const m_option_t mp_opts[] = { // handled in command line pre-parser (parse_commandline.c) {"v", &m_option_type_dummy_flag, CONF_NOCFG | M_OPT_NOPROP, .offset = -1}, - {"playlist", CONF_TYPE_STRING, CONF_NOCFG | M_OPT_MIN | M_OPT_FILE, - .min = 1, .offset = -1}, + {"playlist", CONF_TYPE_STRING, CONF_NOCFG | M_OPT_FILE, .offset = -1}, {"{", &m_option_type_dummy_flag, CONF_NOCFG | M_OPT_NOPROP, .offset = -1}, {"}", &m_option_type_dummy_flag, CONF_NOCFG | M_OPT_NOPROP, |