summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/player/command.c b/player/command.c
index 11a5422add..feaf4788d2 100644
--- a/player/command.c
+++ b/player/command.c
@@ -1991,9 +1991,7 @@ static int access_options(struct m_property_action_arg *ka, MPContext *mpctx)
m_option_copy(opt->opt, ka->arg, opt->data);
return M_PROPERTY_OK;
case M_PROPERTY_SET:
- if (!(mpctx->initialized_flags & INITIALIZED_PLAYBACK) &&
- !(opt->opt->flags & (M_OPT_PRE_PARSE | M_OPT_GLOBAL)))
- {
+ if (!(opt->opt->flags & (M_OPT_PRE_PARSE | M_OPT_FIXED))) {
m_option_copy(opt->opt, opt->data, ka->arg);
return M_PROPERTY_OK;
}