From 8e96e049999ccc4acd88ea43a252bf815464a682 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 15 Apr 2016 22:10:19 +0200 Subject: 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. --- options/m_property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options') 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) -- cgit v1.2.3