summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-11-01 13:33:24 +0100
committerDudemanguy <random342@airmail.cc>2020-11-11 18:20:33 +0000
commit0ed4d662904c213a5217523bf3882b74eefe480e (patch)
tree66bbb4bb9f01706ed206458b46e772cba23c3ff1 /DOCS/man
parentfb819f069f8beb5b72ab304acafcc4a40e86d3c8 (diff)
downloadmpv-0ed4d662904c213a5217523bf3882b74eefe480e.tar.bz2
mpv-0ed4d662904c213a5217523bf3882b74eefe480e.tar.xz
manpage: document the property-change event
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/input.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 32b8986774..4d6d9fab20 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -1531,6 +1531,17 @@ This list uses the event name field value, and the C API symbol in brackets:
``audio-reconfig`` (``MPV_EVENT_AUDIO_RECONFIG``)
Happens on audio output or filter reconfig.
+``property-change`` (``MPV_EVENT_PROPERTY_CHANGE``)
+ Happens when a property that is being observed changes value.
+
+ The event has the following fields:
+
+ ``name``
+ The name of the property.
+
+ ``data``
+ The new value of the property.
+
The following events also happen, but are deprecated: ``tracks-changed``,
``track-switched``, ``pause``, ``unpause``, ``metadata-update``, ``idle``,
``tick``, ``chapter-change``. Use ``mpv_observe_property()``