Commit 639c76d8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: locking fix

parent a5f770d3
...@@ -252,7 +252,9 @@ static VLCInfo *_o_sharedInstance = nil; ...@@ -252,7 +252,9 @@ static VLCInfo *_o_sharedInstance = nil;
if( !input_item_IsPreparsed( p_item ) ) if( !input_item_IsPreparsed( p_item ) )
{ {
playlist_t * p_playlist = pl_Hold( VLCIntf ); playlist_t * p_playlist = pl_Hold( VLCIntf );
PL_LOCK;
playlist_PreparseEnqueue( p_playlist, p_item, pl_Locked ); playlist_PreparseEnqueue( p_playlist, p_item, pl_Locked );
PL_UNLOCK;
pl_Release( VLCIntf ); 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