summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-20 00:59:54 +0200
committerwm4 <wm4@nowhere>2016-09-20 01:24:27 +0200
commitfb67db8b72a329fd017409338d6742c773ce85bf (patch)
treeff0a6dc6d6ba554d9ecf867147bc1bbd0d663a15 /options/m_option.h
parentbf5c97a6c38352d492020cd5d6c7563c709bca9d (diff)
downloadmpv-fb67db8b72a329fd017409338d6742c773ce85bf.tar.bz2
mpv-fb67db8b72a329fd017409338d6742c773ce85bf.tar.xz
player: make --osc/--ytdl settable during playback
Setting the osc or ytdl properties will now load/unload the associated scripts. (For ytdl this does not mean the currently played URL will be reloaded.) Also add a changelog entry for this, which also covers the preceding work for --terminal.
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 74af6b732e..20b671df4e 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -385,7 +385,8 @@ struct m_option {
#define UPDATE_RENDERER (1 << 15) // mainly vo_opengl options
#define UPDATE_VIDEOPOS (1 << 16) // video position (panscan etc.)
#define UPDATE_OSD (1 << 17) // related to OSD rendering
-#define UPDATE_OPT_LAST (1 << 17)
+#define UPDATE_BUILTIN_SCRIPTS (1 << 18) // osc/ytdl
+#define UPDATE_OPT_LAST (1 << 18)
// All bits between _FIRST and _LAST (inclusive)
#define UPDATE_OPTS_MASK \