From 98ff57ae3a17d1a43cd4dc15f4d0c7da25648841 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 31 Jan 2010 00:15:21 +0200 Subject: [PATCH] vlc-cache-gen: no media library This really should default to off everywhere except in VLC though. --- bin/cachegen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/cachegen.c b/bin/cachegen.c index 17f01a3a1a..b10270b64e 100644 --- a/bin/cachegen.c +++ b/bin/cachegen.c @@ -90,14 +90,16 @@ int main (int argc, char *argv[]) const char *const vlc_argv[] = { "--ignore-config", "--quiet", + "--no-media-library", arg, NULL, }; + size_t vlc_argc = sizeof (vlc_argv) / sizeof (vlc_argv[0]) - 1; libvlc_exception_t 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) libvlc_release (vlc); free (arg); -- 2.39.2