From 7d9b21b0d840e7c82e8a0db0de1a276b9317d816 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Mon, 16 Mar 2009 11:06:57 +0100 Subject: [PATCH] macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqueue with pl_Locked. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m index b5615e0f79..bd08a92be9 100644 --- a/modules/gui/macosx/playlistinfo.m +++ b/modules/gui/macosx/playlistinfo.m @@ -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 ); } -- 2.39.2