- /* Provide ability to switch the main interface on the fly */
- psz_intf = p_intf->psz_switch_intf;
- p_intf->psz_switch_intf = NULL;
-
- vlc_object_lock( p_intf );
- p_intf->b_die = false; /* FIXME */
- p_intf->b_dead = false;
-
- vlc_object_unlock( p_intf );
-
- p_intf->psz_intf = psz_intf;
- p_intf->p_module = module_Need( p_intf, "interface", psz_intf, 0 );
- }
- while( p_intf->p_module );