- always use the dummy interface as the primary interface
in daemon mode.
- always launch the logger interface as a secondary interface.
(perhaps later let vlc log to /var/log if it has the rights? in append mode?)
- any other interfaces should be launched with --extraintf
- we should add a pid file option for daemon mode?
close( 2 );
p_vlc->p_libvlc->b_daemon = VLC_TRUE;
- //VLC_AddIntf( 0, "logger,none", VLC_FALSE, VLC_FALSE );
+ var_Create( p_vlc, "interface", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
+ var_SetString( p_vlc, "interface", "dummy" );
+ VLC_AddIntf( 0, "logger,none", VLC_FALSE, VLC_FALSE );
}
}