Commit f94fecb9 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

vlc-cachegen: remove useless options

--ignore-config and --no-media-library are default
parent 3f71509f
...@@ -96,12 +96,10 @@ int main (int argc, char *argv[]) ...@@ -96,12 +96,10 @@ int main (int argc, char *argv[])
if (asprintf (&arg, "--plugin-path=%s", path) == -1) if (asprintf (&arg, "--plugin-path=%s", path) == -1)
abort (); abort ();
const char *vlc_argv[7]; const char *vlc_argv[5];
int vlc_argc = 0; int vlc_argc = 0;
vlc_argv[vlc_argc++] = "--ignore-config";
vlc_argv[vlc_argc++] = "--quiet"; vlc_argv[vlc_argc++] = "--quiet";
vlc_argv[vlc_argc++] = "--no-media-library";
if (force) if (force)
vlc_argv[vlc_argc++] = "--reset-plugins-cache"; vlc_argv[vlc_argc++] = "--reset-plugins-cache";
vlc_argv[vlc_argc++] = arg; vlc_argv[vlc_argc++] = arg;
......
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