[vlc-devel] [PATCH 09/11] playlist/item: do not stop playback on empty node
Filip Roséen
filip at atch.se
Thu May 18 12:01:16 CEST 2017
fixes: #17352
---
src/playlist/item.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/playlist/item.c b/src/playlist/item.c
index 4739252007..865ddcc825 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -163,15 +163,11 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
//control playback only if it was the current playing item that got subitems
if( b_current )
{
- if( last_pos == pos || ( b_stop && !b_flat ) || !b_autostart )
+ if( ( b_stop && !b_flat ) || !b_autostart )
{
- /* We stop, either because no sub-item was actually created, or some
- flags/settings want us to do so at this point */
- PL_UNLOCK;
playlist_Stop( p_playlist );
- return;
}
- else
+ else if( last_pos != pos ) /* any children? */
{
/* Continue to play, either random or the first new item */
playlist_item_t *p_play_item;
--
2.12.2
More information about the vlc-devel
mailing list