summaryrefslogtreecommitdiffstats
path: root/options/m_property.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-23 15:06:27 +0100
committerwm4 <wm4@nowhere>2018-03-26 19:47:08 +0200
commit8ed76d25611fab34b4a547729aab175153cc2403 (patch)
tree81346ac548f4a8b9465e776ce90859f34435fae7 /options/m_property.h
parentef402a1c8c9e3bb369c6192ff25be5ca2435b5a5 (diff)
downloadmpv-8ed76d25611fab34b4a547729aab175153cc2403.tar.bz2
mpv-8ed76d25611fab34b4a547729aab175153cc2403.tar.xz
command: move property multiply code to m_property.c
I think this will help with reducing code duplication (see following commit). The error messages loses the multiplication factor, but the error message will be replaced by a generic one in the following commit anyway.
Diffstat (limited to 'options/m_property.h')
-rw-r--r--options/m_property.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/options/m_property.h b/options/m_property.h
index d71ec033aa..9ad4ccf9f6 100644
--- a/options/m_property.h
+++ b/options/m_property.h
@@ -79,6 +79,10 @@ enum mp_property_action {
// arg: mpv_node*
M_PROPERTY_SET_NODE,
+ // Multiply numeric property with a factor.
+ // arg: double*
+ M_PROPERTY_MULTIPLY,
+
// Pass down an action to a sub-property.
// arg: struct m_property_action_arg*
M_PROPERTY_KEY_ACTION,