diff options
author | wm4 <wm4@nowhere> | 2016-09-20 15:34:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-20 15:44:16 +0200 |
commit | e13eb3fede680fdadb76efce957806654cda0f23 (patch) | |
tree | d3ae9bc7c32824256588a2896ae64afb57f97825 /options/m_option.h | |
parent | bf385e1140069fb1c6d41161aece0fe099513ac0 (diff) | |
download | mpv-e13eb3fede680fdadb76efce957806654cda0f23.tar.bz2 mpv-e13eb3fede680fdadb76efce957806654cda0f23.tar.xz |
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).
Diffstat (limited to 'options/m_option.h')
-rw-r--r-- | options/m_option.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |