[vlc-commits] playlist/tree: playlist_NodeDelete: do not stop playlist on removed node

Filip Roséen git at videolan.org
Thu May 18 17:51:36 CEST 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu May 18 12:01:15 2017 +0200| [1ab80a39c3b0a594eb739d0a7bb42c8550942282] | committer: Rémi Denis-Courmont

playlist/tree: playlist_NodeDelete: do not stop playlist on removed node

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.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ab80a39c3b0a594eb739d0a7bb42c8550942282
---

 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 );
     }



More information about the vlc-commits mailing list