git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ad6868
)
macosx: cosmetic, avoid pthread_join() on self
author
Damien Fouilleul
<damienf@videolan.org>
Fri, 12 Oct 2007 21:37:56 +0000
(21:37 +0000)
committer
Damien Fouilleul
<damienf@videolan.org>
Fri, 12 Oct 2007 21:37:56 +0000
(21:37 +0000)
src/libvlc-common.c
patch
|
blob
|
history
diff --git
a/src/libvlc-common.c
b/src/libvlc-common.c
index
e00ad5a
..
25824c0
100644
(file)
--- 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 );
/* 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 );
{
vlc_object_detach( p_intf );
intf_Destroy( p_intf );