[vlc-commits] --stats: default to false
Rafaël Carré
git at videolan.org
Tue Jan 28 15:27:47 CET 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jan 28 14:30:36 2014 +0100| [c24ea5fb3af17c08ea12d94a106577d06e9f4870] | committer: Rafaël Carré
--stats: default to false
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c24ea5fb3af17c08ea12d94a106577d06e9f4870
---
bin/darwinvlc.c | 3 ++-
bin/vlc.c | 3 ++-
bin/winvlc.c | 3 ++-
src/libvlc-module.c | 2 +-
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/bin/darwinvlc.c b/bin/darwinvlc.c
index 9bac3ca..ceda53f 100644
--- a/bin/darwinvlc.c
+++ b/bin/darwinvlc.c
@@ -151,11 +151,12 @@ int main( int i_argc, const char *ppsz_argv[] )
pthread_t self = pthread_self ();
pthread_sigmask (SIG_SETMASK, &set, NULL);
- const char *argv[i_argc + 2];
+ const char *argv[i_argc + 3];
int argc = 0;
argv[argc++] = "--no-ignore-config";
argv[argc++] = "--media-library";
+ argv[argc++] = "--stats";
/* overwrite system language on Mac */
#if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR // TARGET_OS_MAC is unspecific
diff --git a/bin/vlc.c b/bin/vlc.c
index 2ab35ba..b0a424e 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -201,11 +201,12 @@ int main( int i_argc, const char *ppsz_argv[] )
pthread_t self = pthread_self ();
pthread_sigmask (SIG_SETMASK, &set, NULL);
- const char *argv[i_argc + 2];
+ const char *argv[i_argc + 3];
int argc = 0;
argv[argc++] = "--no-ignore-config";
argv[argc++] = "--media-library";
+ argv[argc++] = "--stats";
ppsz_argv++; i_argc--; /* skip executable path */
#ifdef __OS2__
diff --git a/bin/winvlc.c b/bin/winvlc.c
index 837c585..b013410 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -105,12 +105,13 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
if (wargv == NULL)
return 1;
- char *argv[argc + 3];
+ char *argv[argc + 4];
BOOL crash_handling = TRUE;
int j = 0;
char *lang = NULL;
argv[j++] = FromWide( L"--media-library" );
+ argv[j++] = FromWide( L"--stats" );
argv[j++] = FromWide( L"--no-ignore-config" );
for (int i = 1; i < argc; i++)
{
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 745c992..f6a5d5d 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2092,7 +2092,7 @@ vlc_module_begin ()
add_bool( "interact", true, INTERACTION_TEXT,
INTERACTION_LONGTEXT, false )
- add_bool ( "stats", true, STATS_TEXT, STATS_LONGTEXT, true )
+ add_bool ( "stats", false, STATS_TEXT, STATS_LONGTEXT, true )
set_subcategory( SUBCAT_INTERFACE_MAIN )
add_module_cat( "intf", SUBCAT_INTERFACE_MAIN, NULL, INTF_TEXT,
More information about the vlc-commits
mailing list