[vlc-devel] commit: vlc-cache-gen: no media library ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jan 30 23:16:18 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 31 00:15:21 2010 +0200| [98ff57ae3a17d1a43cd4dc15f4d0c7da25648841] | committer: Rémi Denis-Courmont
vlc-cache-gen: no media library
This really should default to off everywhere except in VLC though.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=98ff57ae3a17d1a43cd4dc15f4d0c7da25648841
---
bin/cachegen.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/bin/cachegen.c b/bin/cachegen.c
index 17f01a3..b10270b 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);
More information about the vlc-devel
mailing list