summaryrefslogtreecommitdiffstats
path: root/player/command.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-12-02 17:19:39 +0100
committersfan5 <sfan5@live.de>2021-12-15 12:29:10 +0100
commitf9fd50c6546f2fa510251267d6423d3f342ca115 (patch)
tree2200756cb0da12b9b62e5ca381a5d139d4703da7 /player/command.h
parentdfcd561ba9087c2a62cb7034c5e661d0b57ad660 (diff)
downloadmpv-f9fd50c6546f2fa510251267d6423d3f342ca115.tar.bz2
mpv-f9fd50c6546f2fa510251267d6423d3f342ca115.tar.xz
player: make deprecated track/chapter/metadata events internal
We still need these to track or notify of modifications to certain properties, but they're now gone from the libmpv ABI.
Diffstat (limited to 'player/command.h')
-rw-r--r--player/command.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/player/command.h b/player/command.h
index b45e616497..ba3824cd9b 100644
--- a/player/command.h
+++ b/player/command.h
@@ -103,6 +103,10 @@ enum {
MP_EVENT_CORE_IDLE,
MP_EVENT_DURATION_UPDATE,
MP_EVENT_INPUT_PROCESSED,
+ MP_EVENT_TRACKS_CHANGED,
+ MP_EVENT_TRACK_SWITCHED,
+ MP_EVENT_METADATA_UPDATE,
+ MP_EVENT_CHAPTER_CHANGE,
};
bool mp_hook_test_completion(struct MPContext *mpctx, char *type);