summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-19 20:16:44 +0200
committerwm4 <wm4@nowhere>2016-09-19 20:16:44 +0200
commitbf5c97a6c38352d492020cd5d6c7563c709bca9d (patch)
tree2fc1e558ad3c5fbfa02c119c9ef347330a6e4f77 /options/m_option.h
parentdf85c76b7f8711b15e36973518578e0064657b8e (diff)
downloadmpv-bf5c97a6c38352d492020cd5d6c7563c709bca9d.tar.bz2
mpv-bf5c97a6c38352d492020cd5d6c7563c709bca9d.tar.xz
options, command: simplify some option updates
Remove wrapper properties for OSD and video position updates, use the new mechanism for them. We can mark the options directly. Update behavior will work for more options (since I've casually marked more affected options than the old less direct mechanism covered).
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/options/m_option.h b/options/m_option.h
index a47bbaa7d7..74af6b732e 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -383,7 +383,9 @@ struct m_option {
#define UPDATE_OPT_FIRST (1 << 14)
#define UPDATE_TERM (1 << 14) // terminal options
#define UPDATE_RENDERER (1 << 15) // mainly vo_opengl options
-#define UPDATE_OPT_LAST (1 << 15)
+#define UPDATE_VIDEOPOS (1 << 16) // video position (panscan etc.)
+#define UPDATE_OSD (1 << 17) // related to OSD rendering
+#define UPDATE_OPT_LAST (1 << 17)
// All bits between _FIRST and _LAST (inclusive)
#define UPDATE_OPTS_MASK \