[vlc-devel] [PATCH 08/11] playlist/tree: playlist_NodeDelete: do not stop playlist on removed node

Filip Roséen filip at atch.se
Thu May 18 12:01:15 CEST 2017


Further playback shall not be stopped, we should simply signal that
the currently playing item is no longer available. Stopping the
playlist leads to behavior similar to --play-and-stop, but without
user interaction/request.
---
 src/playlist/tree.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/playlist/tree.c b/src/playlist/tree.c
index 8ea9d9e44a..5bce6ae0dc 100644
--- a/src/playlist/tree.c
+++ b/src/playlist/tree.c
@@ -116,9 +116,6 @@ void playlist_NodeDelete( playlist_t *p_playlist, playlist_item_t *p_root,
     /* Check if it is the current item */
     if( get_current_status_item( p_playlist ) == p_root )
     {
-        /* Stop */
-        playlist_Control( p_playlist, PLAYLIST_STOP, pl_Locked );
-        msg_Info( p_playlist, "stopping playback" );
         /* This item can't be the next one to be played ! */
         set_current_status_item( p_playlist, NULL );
     }
-- 
2.12.2


More information about the vlc-devel mailing list