[vlc-devel] [PATCH 3/6] playlist: don't play next item automatically if not in playlist
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 25 17:13:40 CEST 2017
Le tiistaina 25. heinäkuuta 2017, 18.00.40 EEST Victorien Le Couviour--Tuffet
a écrit :
> ---
> 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" );
AFAICT, this is not correct. It´s one thing to not loop SD, it´s another thing
to loop nothing except the root playlist node.
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list