mirror of https://github.com/mpv-player/mpv
options: enable scripts related opts also with cplugins.
If an mpv build neither supports lua nor javascript, but only cplugins, the scripts options are still usable to select which cplugins to load.
This commit is contained in:
parent
e1727553f1
commit
a45995f6b8
|
@ -439,7 +439,7 @@ static const m_option_t mp_opts[] = {
|
|||
.flags = CONF_NOCFG | CONF_PRE_PARSE | M_OPT_FILE},
|
||||
{"reset-on-next-file", OPT_STRINGLIST(reset_options)},
|
||||
|
||||
#if HAVE_LUA || HAVE_JAVASCRIPT
|
||||
#if HAVE_LUA || HAVE_JAVASCRIPT || HAVE_CPLUGINS
|
||||
{"scripts", OPT_PATHLIST(script_files), .flags = M_OPT_FILE},
|
||||
{"script", OPT_CLI_ALIAS("scripts-append")},
|
||||
{"script-opts", OPT_KEYVALUELIST(script_opts)},
|
||||
|
|
Loading…
Reference in New Issue