diff options
author | wm4 <wm4@nowhere> | 2016-04-15 22:10:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-15 22:10:19 +0200 |
commit | 8e96e049999ccc4acd88ea43a252bf815464a682 (patch) | |
tree | 8d4860042ac24a3d6760824cb60f06d87a7d7fc7 /options | |
parent | 9db1b7a001786ad5d4ca35decadd29189fefa8dd (diff) |
command: fix cycling certain properties
Commit a9bd4535 generally changed properties are set to string values.
This actually broke the fallback for non-string properties, because the
set string action was redirected directly to the property, instead of
the generic handler and its fallback code.
Diffstat (limited to 'options')
-rw-r--r-- | options/m_property.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_property.c b/options/m_property.c index de2361b868..d0579768c6 100644 --- a/options/m_property.c +++ b/options/m_property.c @@ -105,7 +105,7 @@ int m_property_do(struct mp_log *log, const struct m_property *prop_list, } case M_PROPERTY_SET_STRING: { struct mpv_node node = { .format = MPV_FORMAT_STRING, .u.string = arg }; - return do_action(prop_list, name, M_PROPERTY_SET_NODE, &node, ctx); + return m_property_do(log, prop_list, name, M_PROPERTY_SET_NODE, &node, ctx); } case M_PROPERTY_SWITCH: { if (!log) |