summaryrefslogtreecommitdiffstats
path: root/libmpv
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 /libmpv
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 'libmpv')
-rw-r--r--libmpv/client.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 77265c2d32..85d302a76a 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -1266,24 +1266,6 @@ typedef enum mpv_event_id {
MPV_EVENT_FILE_LOADED = 8,
#if MPV_ENABLE_DEPRECATED
/**
- * The list of video/audio/subtitle tracks was changed. (E.g. a new track
- * was found. This doesn't necessarily indicate a track switch; for this,
- * MPV_EVENT_TRACK_SWITCHED is used.)
- *
- * @deprecated This is equivalent to using mpv_observe_property() on the
- * "track-list" property. The event is redundant, and might
- * be removed in the far future.
- */
- MPV_EVENT_TRACKS_CHANGED = 9,
- /**
- * A video/audio/subtitle track was switched on or off.
- *
- * @deprecated This is equivalent to using mpv_observe_property() on the
- * "vid", "aid", and "sid" properties. The event is redundant,
- * and might be removed in the far future.
- */
- MPV_EVENT_TRACK_SWITCHED = 10,
- /**
* Idle mode was entered. In this mode, no file is played, and the playback
* core waits for new commands. (The command line player normally quits
* instead of entering idle mode, unless --idle was specified. If mpv
@@ -1331,18 +1313,6 @@ typedef enum mpv_event_id {
* because there is no such thing as audio output embedding.
*/
MPV_EVENT_AUDIO_RECONFIG = 18,
-#if MPV_ENABLE_DEPRECATED
- /**
- * Happens when metadata (like file tags) is possibly updated. (It's left
- * unspecified whether this happens on file start or only when it changes
- * within a file.)
- *
- * @deprecated This is equivalent to using mpv_observe_property() on the
- * "metadata" property. The event is redundant, and might
- * be removed in the far future.
- */
- MPV_EVENT_METADATA_UPDATE = 19,
-#endif
/**
* Happens when a seek was initiated. Playback stops. Usually it will
* resume with MPV_EVENT_PLAYBACK_RESTART as soon as the seek is finished.
@@ -1360,16 +1330,6 @@ typedef enum mpv_event_id {
* See also mpv_event and mpv_event_property.
*/
MPV_EVENT_PROPERTY_CHANGE = 22,
-#if MPV_ENABLE_DEPRECATED
- /**
- * Happens when the current chapter changes.
- *
- * @deprecated This is equivalent to using mpv_observe_property() on the
- * "chapter" property. The event is redundant, and might
- * be removed in the far future.
- */
- MPV_EVENT_CHAPTER_CHANGE = 23,
-#endif
/**
* Happens if the internal per-mpv_handle ringbuffer overflows, and at
* least 1 event had to be dropped. This can happen if the client doesn't