]> git.sesse.net Git - vlc/commitdiff
* Loop at the beginning of the playlist instead of the beginning of the current node...
authorBenjamin Pracht <bigben@videolan.org>
Sun, 11 Sep 2005 21:14:17 +0000 (21:14 +0000)
committerBenjamin Pracht <bigben@videolan.org>
Sun, 11 Sep 2005 21:14:17 +0000 (21:14 +0000)
This should be the right fix, but testing is welcomed.

src/playlist/playlist.c

index 335a8788eeb0b3c9c5f3bec24aead61bf4924fb4..d4c47bb61f44521d929d6bc6b49c8df044c3bda5 100644 (file)
@@ -992,7 +992,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
                         p_new = playlist_FindNextFromParent( p_playlist,
                                   p_playlist->request.i_view,
                                   p_view->p_root,
-                                  p_playlist->request.p_node,
+                                  p_view->p_root,
                                   NULL );
                         if( p_new == NULL ) break;
                     }
@@ -1080,7 +1080,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
                     p_new = playlist_FindNextFromParent( p_playlist,
                                    p_playlist->status.i_view,
                                    p_view->p_root,
-                                   p_playlist->status.p_node,
+                                   p_view->p_root,
                                    NULL );
                 }
                 if( p_new != NULL && !(p_new->i_flags & PLAYLIST_SKIP_FLAG) )