Commit 7c76d3c6 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* src/libvlc.c:

  - 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?
parent 16c3c8d5
......@@ -595,7 +595,9 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
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 );
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment