mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 15:11:58 +00:00
options: do not mark --profile/--include as M_OPT_FIXED
The intention of M_OPT_FIXED is to make options not runtime-changeable, so trying to set them at runtime will always error. This is not wanted for --profile and --include, for which there is no reason to block them at runtime. Fixes #3581.
This commit is contained in:
parent
88f10ec84f
commit
733218b233
@ -243,8 +243,8 @@ const m_option_t mp_opts[] = {
|
||||
{"}", CONF_TYPE_STORE, CONF_NOCFG | M_OPT_FIXED, .offset = -1},
|
||||
|
||||
// handled in m_config.c
|
||||
{ "include", CONF_TYPE_STRING, M_OPT_FIXED | M_OPT_FILE, .offset = -1},
|
||||
{ "profile", CONF_TYPE_STRING_LIST, M_OPT_FIXED, .offset = -1},
|
||||
{ "include", CONF_TYPE_STRING, M_OPT_FILE, .offset = -1},
|
||||
{ "profile", CONF_TYPE_STRING_LIST, 0, .offset = -1},
|
||||
{ "show-profile", CONF_TYPE_STRING, CONF_NOCFG | M_OPT_FIXED, .offset = -1},
|
||||
{ "list-options", CONF_TYPE_STORE, CONF_NOCFG | M_OPT_FIXED, .offset = -1},
|
||||
OPT_FLAG("list-properties", property_print_help,
|
||||
|
Loading…
Reference in New Issue
Block a user