]> git.sesse.net Git - vlc/commitdiff
* src/libvlc.c:
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 30 Jun 2004 21:37:58 +0000 (21:37 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 30 Jun 2004 21:37:58 +0000 (21:37 +0000)
  - 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?

src/libvlc.c

index 653e0e88e5eb13373a304865b939e5b33bd0122b..d2e26f298ce54ff0fc68c208ea359f2a18d52b3f 100644 (file)
@@ -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 );
        }
     }