From 0ed4d662904c213a5217523bf3882b74eefe480e Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 1 Nov 2020 13:33:24 +0100 Subject: manpage: document the property-change event --- DOCS/man/input.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS/man') 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()`` -- cgit v1.2.3