From e13eb3fede680fdadb76efce957806654cda0f23 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 20 Sep 2016 15:34:31 +0200 Subject: command: change update handling of some video-related properties Use the new mechanism, instead of wrapped properties. As usual, extend the update handling to some options that were forgotten/neglected before. Rename video_reset_aspect() to video_reset_params() to make it more "general" (and we can amazingly include write access to video-aspect as well in this). --- 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 e0f8979a66..63ba4fac03 100644 --- a/options/m_option.h +++ b/options/m_option.h @@ -386,7 +386,8 @@ struct m_option { #define UPDATE_VIDEOPOS (1 << 9) // video position (panscan etc.) #define UPDATE_OSD (1 << 10) // related to OSD rendering #define UPDATE_BUILTIN_SCRIPTS (1 << 11) // osc/ytdl -#define UPDATE_OPT_LAST (1 << 11) +#define UPDATE_IMGPAR (1 << 12) // video image params overrides +#define UPDATE_OPT_LAST (1 << 12) // All bits between _FIRST and _LAST (inclusive) #define UPDATE_OPTS_MASK \ -- cgit v1.2.3