<html><head></head><body>I don't see the point. It's downstream self-inflicted problem if they use too new VLC 4.0 prerelease.<br><br><div class="gmail_quote">Le 12 juin 2020 12:27:35 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">To keep compability with the old track API since VLC's ports are still using it.<br><br>This will be removed when the old track API is removed.<hr> include/vlc/libvlc_events.h | 1 +<br> lib/media_player.c          | 1 +<br> 2 files changed, 2 insertions(+)<br><br>diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h<br>index 6c3ea15e9b4..5cd545097e7 100644<br>--- a/include/vlc/libvlc_events.h<br>+++ b/include/vlc/libvlc_events.h<br>@@ -356,6 +356,7 @@ typedef struct libvlc_event_t<br>         struct<br>         {<br>             libvlc_track_type_t i_type;<br>+            int i_id; /**< Deprecated, use psz_id */<br>             /** Call libvlc_media_player_get_track_from_id() to get the track<br>              * description. */<br>             const char *psz_id;<br>diff --git a/lib/media_player.c b/lib/media_player.c<br>index d33a1b5b5cb..79550a271e2 100644<br>--- a/lib/media_player.c<br>+++ b/lib/media_player.c<br>@@ -263,6 +263,7 @@ on_track_list_changed(vlc_player_t *player, enum vlc_player_list_action action,<br> <br>     event.u.media_player_es_changed.i_type =<br>         track_type_from_cat(track->fmt.i_cat);<br>+    event.u.media_player_es_changed.i_id = vlc_es_id_GetInputId(track->es_id);<br>     event.u.media_player_es_changed.psz_id = vlc_es_id_GetStrId(track->es_id);<br> <br>     libvlc_event_send(&mp->event_manager, &event);</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>