diff options
author | wm4 <wm4@nowhere> | 2014-06-08 23:52:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-08 23:52:58 +0200 |
commit | da89af10768f75ceec9b9c0256649da6f4d843a2 (patch) | |
tree | a8f593ba7df6da4e6d70d10039ff55d475d48662 /options | |
parent | cc74bc3fecd9d44d62ff162394cff02ad436a9cc (diff) | |
download | mpv-da89af10768f75ceec9b9c0256649da6f4d843a2.tar.bz2 mpv-da89af10768f75ceec9b9c0256649da6f4d843a2.tar.xz |
player: show "neutral" position markers for OSD bars
This commit implements them for volume and some video properties.
Diffstat (limited to 'options')
-rw-r--r-- | options/m_property.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/options/m_property.h b/options/m_property.h index 808066dde6..7ba2c5181d 100644 --- a/options/m_property.h +++ b/options/m_property.h @@ -79,6 +79,11 @@ enum mp_property_action { // Pass down an action to a sub-property. // arg: struct m_property_action_arg* M_PROPERTY_KEY_ACTION, + + // Get the (usually constant) value that indicates no change. Obscure + // special functionality for things like the volume property. + // Otherwise works like M_PROPERTY_GET. + M_PROPERTY_GET_NEUTRAL, }; // Argument for M_PROPERTY_SWITCH |