Commit 5a4c6cde authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: We need the PL_LOCK here (May fix a race we have on startup).

(cherry picked from commit 74a2f792)
parent deedaf82
......@@ -171,6 +171,7 @@
NSValue *o_value;
playlist_t * p_playlist = pl_Yield( VLCIntf );
PL_LOCK;
if( item == nil )
{
/* root object */
......@@ -182,7 +183,8 @@
}
if( p_item && index < p_item->i_children && index >= 0 )
p_return = p_item->pp_children[index];
PL_UNLOCK;
vlc_object_release( p_playlist );
o_value = [o_outline_dict objectForKey:[NSString stringWithFormat: @"%p", p_return]];
......
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