1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 10:51:51 +00:00

manpage: document the property-change event

This commit is contained in:
Guido Cella 2020-11-01 13:33:24 +01:00 committed by Dudemanguy
parent fb819f069f
commit 0ed4d66290

View File

@ -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()``