<html><head></head><body>I don't follow the causal link here. This code does not make sense to me.<br><br><div class="gmail_quote">Le 28 novembre 2018 16:08:15 GMT+02:00, Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet@gmail.com> 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">Since the player now handles the playlist cork option, we need to<br>configure it from this variable at the beginning.<hr> src/libvlc.c | 2 ++<br> 1 file changed, 2 insertions(+)<br><br>diff --git a/src/libvlc.c b/src/libvlc.c<br>index 2f8ded692e..f5d6382cfd 100644<br>--- a/src/libvlc.c<br>+++ b/src/libvlc.c<br>@@ -135,6 +135,7 @@ PlaylistConfigureFromVariables(vlc_playlist_t *playlist, vlc_object_t *obj)<br>         media_stopped_action = VLC_PLAYER_MEDIA_STOPPED_CONTINUE;<br> <br>     bool start_paused = var_InheritBool(obj, "start-paused");<br>+    bool playlist_cork = var_InheritBool(obj, "playlist-cork");<br> <br>     vlc_playlist_Lock(playlist);<br>     vlc_playlist_SetPlaybackOrder(playlist, order);<br>@@ -146,6 +147,7 @@ PlaylistConfigureFromVariables(vlc_playlist_t *playlist, vlc_object_t *obj)<br>      * implementation detail */<br>     vlc_player_SetMediaStoppedAction(player, media_stopped_action);<br>     vlc_player_SetStartPaused(player, start_paused);<br>+    vlc_player_SetPauseOnCork(player, playlist_cork);<br> <br>     vlc_playlist_Unlock(playlist);<br> }</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>