summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index d6c0f9cf08..d5d95602a6 100644
--- a/player/command.c
+++ b/player/command.c
@@ -5603,6 +5603,9 @@ void mp_option_change_callback(void *ctx, struct m_config_option *co, int flags)
osd_changed(mpctx->osd);
mp_wakeup_core(mpctx);
}
+
+ if (flags & UPDATE_BUILTIN_SCRIPTS)
+ mp_load_builtin_scripts(mpctx);
}
void mp_notify_property(struct MPContext *mpctx, const char *property)