From 3cde02fe2292bbc6e213b6a619c2bafa21412276 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 28 Oct 2014 15:44:25 +0100 Subject: client API: add an enum for mpv_event_end_file.reason Using magic integer values was an attempt to keep the API less verbose. But it was probably not a good idea. Reason 1 (restart) is not made explicit, because it is not used anymore starting with the previous commit. For ABI compatibility, the value is left as a hole in the enum. --- DOCS/client-api-changes.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'DOCS') diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst index a72bf9e398..b6b5dbc6ca 100644 --- a/DOCS/client-api-changes.rst +++ b/DOCS/client-api-changes.rst @@ -25,6 +25,7 @@ API changes :: + 1.9 - add enum mpv_end_file_reason for mpv_event_end_file.reason 1.8 - add qthelper.hpp 1.7 - add mpv_command_node(), mpv_command_node_async() 1.6 - modify "core-idle" property behavior -- cgit v1.2.3