diff options
author | wm4 <wm4@nowhere> | 2016-09-18 17:55:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-18 17:55:27 +0200 |
commit | 08432fcbd11cfb958e29307ea277f67c13f56dde (patch) | |
tree | 419651be9889c66e525329e54d81ea220a94b13d /options | |
parent | 2415b695724c15def54a039527ee9eb574ffb65f (diff) | |
download | mpv-08432fcbd11cfb958e29307ea277f67c13f56dde.tar.bz2 mpv-08432fcbd11cfb958e29307ea277f67c13f56dde.tar.xz |
command: fix "cycle"/"add" not working on most properties
Oops, this is kind of important, isn't it?
Stopped working for properties which don't implement
M_PROPERTY_GET_CONSTRICTED_TYPE directly, as do_action() goes to the
property directly, while m_property_do() does a fallback.
Diffstat (limited to 'options')
-rw-r--r-- | options/m_property.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/options/m_property.c b/options/m_property.c index ba8d37b2e6..9dad34fd1b 100644 --- a/options/m_property.c +++ b/options/m_property.c @@ -115,7 +115,8 @@ int m_property_do(struct mp_log *log, const struct m_property *prop_list, M_PROPERTY_NOT_IMPLEMENTED) return r; // Fallback to m_option - r = do_action(prop_list, name, M_PROPERTY_GET_CONSTRICTED_TYPE, &opt, ctx); + r = m_property_do(log, prop_list, name, M_PROPERTY_GET_CONSTRICTED_TYPE, + &opt, ctx); if (r <= 0) return r; assert(opt.type); |