[vlc-devel] [PATCH 2/3] libvlc: events: remove libvlc_MediaPlayerScrambledChanged

Thomas Guillem thomas at gllm.fr
Fri Oct 2 15:53:49 CEST 2020


---
 include/vlc/libvlc_events.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h
index 073e06893e9..85483555ac8 100644
--- a/include/vlc/libvlc_events.h
+++ b/include/vlc/libvlc_events.h
@@ -109,10 +109,12 @@ enum libvlc_event_e {
     libvlc_MediaPlayerSnapshotTaken = libvlc_MediaPlayerPausableChanged + 2,
     libvlc_MediaPlayerLengthChanged,
     libvlc_MediaPlayerVout,
-    libvlc_MediaPlayerScrambledChanged,
+
+    /* libvlc_MediaPlayerScrambledChanged, use libvlc_MediaPlayerProgramUpdated */
+
     /** A track was added, cf. media_player_es_changed in \ref libvlc_event_t.u
      * to get the id of the new track. */
-    libvlc_MediaPlayerESAdded,
+    libvlc_MediaPlayerESAdded = libvlc_MediaPlayerVout + 2,
     /** A track was removed, cf. media_player_es_changed in \ref
      * libvlc_event_t.u to get the id of the removed track. */
     libvlc_MediaPlayerESDeleted,
-- 
2.28.0



More information about the vlc-devel mailing list