From 03beb7e6aef75173d5cf6ee9534c0e0b17c8c5e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 23 Jan 2010 20:27:37 +0200 Subject: [PATCH] Do not reload the command line Loading the configuration from vlcrc or resetting the configuration does not alter the command line parameter anymore. --- src/libvlc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libvlc.c b/src/libvlc.c index 536229c8b0..c677df9295 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -429,7 +429,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, # if defined (WIN32) || defined (__APPLE__) if( !var_InheritBool( p_libvlc, "ignore-config" ) ) config_LoadConfigFile( p_libvlc, "main" ); - config_LoadCmdLine( p_libvlc, &i_argc, ppsz_argv, true ); priv->i_verbose = var_InheritInteger( p_libvlc, "verbose" ); /* Check if the user specified a custom language */ @@ -509,7 +508,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, if( var_InheritBool( p_libvlc, "reset-config" ) ) { config_ResetAll( p_libvlc ); - config_LoadCmdLine( p_libvlc, &i_argc, ppsz_argv, true ); config_SaveConfigFile( p_libvlc, NULL ); } } -- 2.39.5