]> git.sesse.net Git - vlc/commitdiff
Fix SAP autoplay, patch by Dermot McGahon. Thanks
authorClément Stenac <zorglub@videolan.org>
Sun, 25 Dec 2005 20:35:25 +0000 (20:35 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 25 Dec 2005 20:35:25 +0000 (20:35 +0000)
src/playlist/playlist.c

index 93c2bd901ab8bae3fe81ab77e759b828c46464fb..eb901a1c425ad2218c955344caf357a073bf49bd 100644 (file)
@@ -988,6 +988,10 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
                 }
                 p_playlist->request.i_skip = 0;
             }
+            if( !( p_new->i_flags & PLAYLIST_SKIP_FLAG ) )
+            {
+                return NULL;
+            }
         }
         else
         {