From 7c4a550c0ed9690e441d2bd0b212d42fffbec70c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 14 Mar 2020 01:40:54 +0100 Subject: DOCS/interface-changes.rst: add note about property notification changes Commits ba70b150fbe8 and 8a4f812b76be should have mentioned this. These things should be quite useful for client API users, and thus should be mentioned in a prominent place. Although I'm not sure if anyone will understand from this gibberish what this really means. --- DOCS/interface-changes.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 0c9c7f6831..4463930767 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -38,6 +38,13 @@ Interface changes - remove deprecated legacy hook API ("hook-add", "hook-ack"). Use either the libmpv API (mpv_hook_add(), mpv_hook_continue()), or the Lua scripting wrappers (mp.add_hook()). + - improve how property change notifications are delivered on events and on + hooks. In particular, a hook event is only returned to a client after all + changes initiated before the hook point were delivered to the same client. + In addition, it should no longer happen that events and property change + notifications were interleaved in bad ways (it could happen that a + property notification delivered after an event contained a value that was + valid only before the event happened). --- mpv 0.32.0 --- - change behavior when using legacy option syntax with options that start with two dashes (``--`` instead of a ``-``). Now, using the recommended -- cgit v1.2.3