Commit 55709f03 authored by Damien Fouilleul's avatar Damien Fouilleul

macosx: cosmetic, avoid pthread_join() on self

parent 8ad68689
......@@ -1132,7 +1132,7 @@ int libvlc_InternalAddIntf( libvlc_int_t *p_libvlc,
/* Try to run the interface */
p_intf->b_play = b_play;
i_err = intf_RunThread( p_intf );
if( i_err )
if( i_err || p_intf->b_should_run_on_first_thread )
{
vlc_object_detach( p_intf );
intf_Destroy( p_intf );
......
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