Commit 7383ea42 authored by Benjamin Pracht's avatar Benjamin Pracht

* Backport of 15401

parent 8b822dc3
...@@ -115,7 +115,7 @@ intf_thread_t* __intf_Create( vlc_object_t *p_this, const char *psz_module, ...@@ -115,7 +115,7 @@ intf_thread_t* __intf_Create( vlc_object_t *p_this, const char *psz_module,
} }
/* Choose the best module */ /* Choose the best module */
p_intf->p_module = module_Need( p_intf, "interface", psz_module, VLC_TRUE ); p_intf->p_module = module_Need( p_intf, "interface", psz_module, VLC_FALSE );
if( p_intf->p_module == NULL ) if( p_intf->p_module == NULL )
{ {
......
...@@ -778,30 +778,30 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] ) ...@@ -778,30 +778,30 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
#ifdef HAVE_X11_XLIB_H #ifdef HAVE_X11_XLIB_H
if( config_GetInt( p_vlc, "disable-screensaver" ) == 1 ) if( config_GetInt( p_vlc, "disable-screensaver" ) == 1 )
{ {
VLC_AddIntf( 0, "screensaver", VLC_FALSE, VLC_FALSE ); VLC_AddIntf( 0, "screensaver,none", VLC_FALSE, VLC_FALSE );
} }
#endif #endif
if( config_GetInt( p_vlc, "file-logging" ) == 1 ) if( config_GetInt( p_vlc, "file-logging" ) == 1 )
{ {
VLC_AddIntf( 0, "logger", VLC_FALSE, VLC_FALSE ); VLC_AddIntf( 0, "logger,none", VLC_FALSE, VLC_FALSE );
} }
#ifdef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG_H
if( config_GetInt( p_vlc, "syslog" ) == 1 ) if( config_GetInt( p_vlc, "syslog" ) == 1 )
{ {
char *psz_logmode = "logmode=syslog"; char *psz_logmode = "logmode=syslog";
AddIntfInternal( 0, "logger", VLC_FALSE, VLC_FALSE, 1, &psz_logmode ); AddIntfInternal( 0, "logger,none", VLC_FALSE, VLC_FALSE, 1, &psz_logmode );
} }
#endif #endif
if( config_GetInt( p_vlc, "show-intf" ) == 1 ) if( config_GetInt( p_vlc, "show-intf" ) == 1 )
{ {
VLC_AddIntf( 0, "showintf", VLC_FALSE, VLC_FALSE ); VLC_AddIntf( 0, "showintf,none", VLC_FALSE, VLC_FALSE );
} }
if( config_GetInt( p_vlc, "network-synchronisation") == 1 ) if( config_GetInt( p_vlc, "network-synchronisation") == 1 )
{ {
VLC_AddIntf( 0, "netsync", VLC_FALSE, VLC_FALSE ); VLC_AddIntf( 0, "netsync,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