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, false, true, 0, NULL ) )
+ if( libvlc_InternalAddIntf( p_i->p_libvlc_int, name, true ) )
RAISEVOID( "Interface initialization failed" );
}
{
libvlc_int_t *p_libvlc = p_i->p_libvlc_int;
vlc_object_lock( p_libvlc );
- if( vlc_object_alive( p_libvlc ) )
- while( !vlc_object_wait( p_libvlc ) );
+ while( vlc_object_alive( p_libvlc ) )
+ vlc_object_wait( p_libvlc );
vlc_object_unlock( p_libvlc );
}
return p_instance->p_libvlc_int->i_object_id;
}
-const char * libvlc_get_version()
+const char * libvlc_get_version(void)
{
return VLC_Version();
}
-const char * libvlc_get_compiler()
+const char * libvlc_get_compiler(void)
{
return VLC_Compiler();
}
-const char * libvlc_get_changeset()
+const char * libvlc_get_changeset(void)
{
return VLC_Changeset();
}