[vlc-devel] [PATCH 3/6] playlist: don't play next item automatically if not in playlist
Victorien Le Couviour--Tuffet
victorien.lecouviour.tuffet at gmail.com
Tue Jul 25 18:00:40 CEST 2017
---
src/playlist/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index 5632babe4d..287e506f33 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -361,7 +361,7 @@ static playlist_item_t *NextItem( playlist_t *p_playlist )
}
}
/* "Automatic" item change ( next ) */
- else
+ else if (get_current_status_node(p_playlist) == p_playlist->p_playing)
{
bool b_loop = var_GetBool( p_playlist, "loop" );
bool b_repeat = var_GetBool( p_playlist, "repeat" );
--
2.13.1
More information about the vlc-devel
mailing list