diff options
author | wm4 <wm4@nowhere> | 2015-07-23 22:59:04 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-23 22:59:04 +0200 |
commit | 3cbf68b47079df130d2a767da7f6af352202112c (patch) | |
tree | 588c6ca85a5d20a0768fc73ccedf9e4918f4afb1 /player | |
parent | 86a60a4dd22a717a069346acf4a6171837fb01b3 (diff) | |
download | mpv-3cbf68b47079df130d2a767da7f6af352202112c.tar.bz2 mpv-3cbf68b47079df130d2a767da7f6af352202112c.tar.xz |
command: add property indicating per-file options
Fixes #2165, more or less.
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c index 8e78099dfb..bc9031ebb3 100644 --- a/player/command.c +++ b/player/command.c @@ -3261,6 +3261,7 @@ static int mp_property_option_info(void *ctx, struct m_property *prop, {"name", SUB_PROP_STR(co->name)}, {"type", SUB_PROP_STR(opt->type->name)}, {"set-from-commandline", SUB_PROP_FLAG(co->is_set_from_cmdline)}, + {"set-locally", SUB_PROP_FLAG(co->is_set_locally)}, {"default-value", *opt, def}, {"min", SUB_PROP_DOUBLE(opt->min), .unavailable = !(has_minmax && (opt->flags & M_OPT_MIN))}, |