[vlc-commits] commit: intf_Create: do not fail if libvlc is exiting ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Sun May 30 19:52:33 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 30 20:15:50 2010 +0300| [a440126cfb7322950d14f7029dd424c4f4bd41ad] | committer: Rémi Denis-Courmont
intf_Create: do not fail if libvlc is exiting
This should fix VLC reporting an interface error if it is interrupted
early.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a440126cfb7322950d14f7029dd424c4f4bd41ad
---
src/interface/interface.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/interface/interface.c b/src/interface/interface.c
index 00871e4..ba9240b 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -128,12 +128,6 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module )
goto error;
}
- vlc_mutex_lock( &lock );
- if( !vlc_object_alive( p_libvlc ) )
- {
- vlc_mutex_unlock( &lock );
- goto error; /* Too late! */
- }
#if defined( __APPLE__ ) || defined( WIN32 )
/* Hack to get Mac OS X Cocoa runtime running
* (it needs access to the main thread) */
More information about the vlc-commits
mailing list