]> git.sesse.net Git - vlc/commitdiff
macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqu...
authorJean-Paul Saman <jpsaman@videolan.org>
Mon, 16 Mar 2009 10:06:57 +0000 (11:06 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Mon, 16 Mar 2009 11:06:28 +0000 (12:06 +0100)
updatePanelWithItem is called from modules/gui/macosx/intf.m line 1565 with playlist lock held.
If this solution is wrong then revert and fix properly.

modules/gui/macosx/playlistinfo.m

index b5615e0f792c6723520c00061968faba85df246c..bd08a92be9000f45ea5014d6300007827d0539b7 100644 (file)
@@ -252,7 +252,7 @@ static VLCInfo *_o_sharedInstance = nil;
         if( !input_item_IsPreparsed( p_item ) )
         {
             playlist_t * p_playlist = pl_Hold( VLCIntf );
-            playlist_PreparseEnqueue( p_playlist, p_item, pl_Unlocked );
+            playlist_PreparseEnqueue( p_playlist, p_item, pl_Locked );
             pl_Release( VLCIntf );
         }