diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/player/command.c b/player/command.c index eae3f7116e..fe1596f18c 100644 --- a/player/command.c +++ b/player/command.c @@ -320,9 +320,8 @@ int mp_on_set_option(void *ctx, struct m_config_option *co, void *data, int flag if (r != M_PROPERTY_OK) return M_OPT_INVALID; - // The flag can't be passed through the property layer correctly. - if (flags & M_SETOPT_FROM_CMDLINE) - co->is_set_from_cmdline = true; + // The flags can't be passed through the property layer correctly. + m_config_mark_co_flags(co, flags); return 0; |