}
}
-void libvlc_run_interface( libvlc_instance_t *p_i, const char *name,
- libvlc_exception_t *p_e )
+void libvlc_add_intf( libvlc_instance_t *p_i, const char *name,
+ libvlc_exception_t *p_e )
{
- if( libvlc_InternalAddIntf( p_i->p_libvlc_int, name, true, true, 0, NULL ) )
+ if( libvlc_InternalAddIntf( p_i->p_libvlc_int, name, false, true, 0, NULL ) )
RAISEVOID( "Interface initialization failed" );
}
{
libvlc_int_t *p_libvlc = p_i->p_libvlc_int;
vlc_object_lock( p_libvlc );
- while( !vlc_object_wait( p_libvlc ) );
+ if( vlc_object_alive( p_libvlc ) )
+ while( !vlc_object_wait( p_libvlc ) );
vlc_object_unlock( p_libvlc );
}