- /* If we are clivlc+macosx, don't run the macosx GUI */
- if( !strcmp( p_intf->p_module->psz_object_name, "macosx" ) )
- {
- msg_Err( p_intf, "You cannot run the MacOS X module as an "
- "interface in clivlc mode. Please read the "
- "README.MacOSX.rtf file.");
- return VLC_EGENERIC;
- }
-
- /* If the main interface does not have a run function,
- * implement a waiting loop ourselves
- */
- if( p_intf->pf_run )
- RunInterface( p_intf );
- else
- {
- while( !intf_ShouldDie( p_intf ) )
- msleep( INTF_IDLE_SLEEP * 2);
- }
- vlc_object_kill( p_intf );
+ msg_Err( p_intf, "You cannot run the MacOS X module as an "
+ "extra interface. Please read the "
+ "README.MacOSX.rtf file.");
+ return VLC_EGENERIC;