[vlc-devel] commit: macosx: Fix a dead lock. (Pierre d'Herbemont )

git version control git at videolan.org
Tue Jul 15 19:31:49 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Jul 15 19:31:14 2008 +0200| [9399329f8c097eb2356ee42d8896e0261283cc2f]

macosx: Fix a dead lock.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9399329f8c097eb2356ee42d8896e0261283cc2f
---

 modules/gui/macosx/playlist.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 57bd2b9..232aa4b 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -852,7 +852,7 @@
                         ((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 );
         }




More information about the vlc-devel mailing list