From: Jean-Paul Saman Date: Mon, 16 Mar 2009 10:06:57 +0000 (+0100) Subject: macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqu... X-Git-Tag: 1.0.0-pre1~63 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7d9b21b0d840e7c82e8a0db0de1a276b9317d816;p=vlc 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. --- 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 ); }