[vlc-commits] commit: Disable media-library by default ( Rafaël Carré )
git at videolan.org
git at videolan.org
Wed Oct 20 19:14:24 CEST 2010
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Oct 20 16:17:31 2010 +0200| [668d4b8d68631ee67c2fa38c2757db53f67ccab2] | committer: Rafaël Carré
Disable media-library by default
Enable it in vlc binary
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=668d4b8d68631ee67c2fa38c2757db53f67ccab2
---
bin/vlc.c | 1 +
src/libvlc-module.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/bin/vlc.c b/bin/vlc.c
index 085aa3a..5d36e70 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -175,6 +175,7 @@ int main( int i_argc, const char *ppsz_argv[] )
int argc = 0;
argv[argc++] = "--no-ignore-config";
+ argv[argc++] = "--media-library";
#ifdef TOP_BUILDDIR
argv[argc++] = FromLocale ("--plugin-path="TOP_BUILDDIR"/modules");
#endif
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index b6c74eb..2fc5136 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2142,7 +2142,7 @@ vlc_module_begin ()
change_safe()
add_bool( "play-and-pause", 0, NULL, PAP_TEXT, PAP_LONGTEXT, true )
change_safe()
- add_bool( "media-library", 1, NULL, ML_TEXT, ML_LONGTEXT, false )
+ add_bool( "media-library", 0, NULL, ML_TEXT, ML_LONGTEXT, false )
#if defined( MEDIA_LIBRARY )
add_bool( "load-media-library-on-startup", 1, NULL, LOAD_ML_TEXT,
LOAD_ML_LONGTEXT, false )
More information about the vlc-commits
mailing list