summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index f275fcc489..7b77097011 100644
--- a/player/command.c
+++ b/player/command.c
@@ -302,6 +302,8 @@ int mp_on_set_option(void *ctx, struct m_config_option *co, void *data, int flag
}
int r = mp_property_do_silent(name, M_PROPERTY_SET, data, mpctx);
+ if (r == M_PROPERTY_UNKNOWN)
+ goto direct_option; // not mapped as property
if (r != M_PROPERTY_OK)
return M_OPT_INVALID;