Commit 7d9b21b0 authored by Jean-Paul Saman's avatar Jean-Paul Saman

macosx: playlistlock is held when playlistinfo panel is updated, so call...

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.
parent 98c893ec
......@@ -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 );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment