From da89af10768f75ceec9b9c0256649da6f4d843a2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 8 Jun 2014 23:52:58 +0200 Subject: player: show "neutral" position markers for OSD bars This commit implements them for volume and some video properties. --- options/m_property.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'options') 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 -- cgit v1.2.3