From fb67db8b72a329fd017409338d6742c773ce85bf Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 20 Sep 2016 00:59:54 +0200 Subject: 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. --- options/m_option.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options/m_option.h') 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 \ -- cgit v1.2.3