<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}
p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div>On Fri, Jun 12, 2020, at 16:52, Rémi Denis-Courmont wrote:<br></div><blockquote type="cite" id="qt" style=""><div>I don't see the point. It's downstream self-inflicted problem if they use too new VLC 4.0 prerelease.<br></div></blockquote><div><br></div><div>It breaks VLC's ports CI. It's just temporary to smooth the transition.<br></div><div><br></div><blockquote type="cite" id="qt" style=""><div><br></div><div class="qt-gmail_quote"><div>Le 12 juin 2020 12:27:35 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<br></div><blockquote class="qt-gmail_quote" style="margin-top:0pt;margin-right:0pt;margin-bottom:0pt;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><pre class="qt-k9mail"><div>To keep compability with the old track API since VLC's ports are still using it.<br></div><div><br></div><div>This will be removed when the old track API is removed.<hr> include/vlc/libvlc_events.h | 1 +<br></div><div> lib/media_player.c          | 1 +<br></div><div> 2 files changed, 2 insertions(+)<br></div><div><br></div><div>diff --git a/include/vlc/libvlc_events.h b/include/vlc/libvlc_events.h<br></div><div>index 6c3ea15e9b4..5cd545097e7 100644<br></div><div>--- a/include/vlc/libvlc_events.h<br></div><div>+++ b/include/vlc/libvlc_events.h<br></div><div>@@ -356,6 +356,7 @@ typedef struct libvlc_event_t<br></div><div>         struct<br></div><div>         {<br></div><div>             libvlc_track_type_t i_type;<br></div><div>+            int i_id; /**< Deprecated, use psz_id */<br></div><div>             /** Call libvlc_media_player_get_track_from_id() to get the track<br></div><div>              * description. */<br></div><div>             const char *psz_id;<br></div><div>diff --git a/lib/media_player.c b/lib/media_player.c<br></div><div>index d33a1b5b5cb..79550a271e2 100644<br></div><div>--- a/lib/media_player.c<br></div><div>+++ b/lib/media_player.c<br></div><div>@@ -263,6 +263,7 @@ on_track_list_changed(vlc_player_t *player, enum vlc_player_list_action action,<br></div><div> <br></div><div>     event.u.media_player_es_changed.i_type =<br></div><div>         track_type_from_cat(track->fmt.i_cat);<br></div><div>+    event.u.media_player_es_changed.i_id = vlc_es_id_GetInputId(track->es_id);<br></div><div>     event.u.media_player_es_changed.psz_id = vlc_es_id_GetStrId(track->es_id);<br></div><div> <br></div><div>     libvlc_event_send(&mp->event_manager, &event);<br></div></pre></blockquote></div><div><br></div><div>-- <br></div><div>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. <br></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></div></blockquote><div><br></div></body></html>