From 55709f0347652e77c18d73286486c8733e8864b1 Mon Sep 17 00:00:00 2001 From: Damien Fouilleul Date: Fri, 12 Oct 2007 21:37:56 +0000 Subject: [PATCH] macosx: cosmetic, avoid pthread_join() on self --- src/libvlc-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvlc-common.c b/src/libvlc-common.c index e00ad5a5e6..25824c078a 100644 --- a/src/libvlc-common.c +++ b/src/libvlc-common.c @@ -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 ); -- 2.20.1