[vlc-commits] commit: vlc-cachegen: remove useless options ( Rafaël Carré )

git at videolan.org git at videolan.org
Wed Oct 20 19:55:06 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Oct 20 19:54:07 2010 +0200| [f94fecb990baf9c1f6dd1eba6eb72a7bdcbe73b5] | committer: Rafaël Carré 

vlc-cachegen: remove useless options

--ignore-config and --no-media-library are default

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f94fecb990baf9c1f6dd1eba6eb72a7bdcbe73b5
---

 bin/cachegen.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/bin/cachegen.c b/bin/cachegen.c
index 5223cfb..e73e4a5 100644
--- a/bin/cachegen.c
+++ b/bin/cachegen.c
@@ -96,12 +96,10 @@ int main (int argc, char *argv[])
         if (asprintf (&arg, "--plugin-path=%s", path) == -1)
             abort ();
 
-        const char *vlc_argv[7];
+        const char *vlc_argv[5];
         int vlc_argc = 0;
 
-        vlc_argv[vlc_argc++] = "--ignore-config";
         vlc_argv[vlc_argc++] = "--quiet";
-        vlc_argv[vlc_argc++] = "--no-media-library";
         if (force)
             vlc_argv[vlc_argc++] = "--reset-plugins-cache";
         vlc_argv[vlc_argc++] = arg;



More information about the vlc-commits mailing list