]> git.sesse.net Git - vlc/commitdiff
macosx: Fix a dead lock.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Jul 2008 17:31:14 +0000 (19:31 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 15 Jul 2008 17:34:04 +0000 (19:34 +0200)
modules/gui/macosx/playlist.m

index 57bd2b95c13b931fe9f33792d061c0ecf9143750..232aa4b8f03d945633815fedda81b3b4e25bc027 100644 (file)
                         ((playlist_item_t *)[o_item pointerValue])
                         checkItemExistence: NO locked:YES] == YES )
                 // if current item is in selected node and is playing then stop playlist
-                playlist_Stop( p_playlist );
+                playlist_Control(p_playlist, PLAYLIST_STOP, pl_Locked );
     
             playlist_NodeDelete( p_playlist, p_item, true, false );
         }