Commit 98ff57ae authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vlc-cache-gen: no media library

This really should default to off everywhere except in VLC though.
parent 3dab8a39
...@@ -90,14 +90,16 @@ int main (int argc, char *argv[]) ...@@ -90,14 +90,16 @@ int main (int argc, char *argv[])
const char *const vlc_argv[] = { const char *const vlc_argv[] = {
"--ignore-config", "--ignore-config",
"--quiet", "--quiet",
"--no-media-library",
arg, arg,
NULL, NULL,
}; };
size_t vlc_argc = sizeof (vlc_argv) / sizeof (vlc_argv[0]) - 1;
libvlc_exception_t ex; libvlc_exception_t ex;
libvlc_exception_init (&ex); libvlc_exception_init (&ex);
libvlc_instance_t *vlc = libvlc_new (3, vlc_argv, &ex); libvlc_instance_t *vlc = libvlc_new (vlc_argc, vlc_argv, &ex);
if (vlc != NULL) if (vlc != NULL)
libvlc_release (vlc); libvlc_release (vlc);
free (arg); free (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