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.
This commit is contained in:
wm4
2014-10-28 15:44:25 +01:00
parent 77b06fa017
commit 3cde02fe22
3 changed files with 30 additions and 12 deletions

View File

@@ -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