[vlc-devel] commit: Do not reload the command line ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jan 23 19:28:54 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 23 20:27:37 2010 +0200| [03beb7e6aef75173d5cf6ee9534c0e0b17c8c5e1] | committer: Rémi Denis-Courmont
Do not reload the command line
Loading the configuration from vlcrc or resetting the configuration does
not alter the command line parameter anymore.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03beb7e6aef75173d5cf6ee9534c0e0b17c8c5e1
---
src/libvlc.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 536229c..c677df9 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 );
}
}
More information about the vlc-devel
mailing list