From: RĂ©mi Denis-Courmont Date: Fri, 5 Mar 2010 21:14:56 +0000 (+0200) Subject: Run system_Configure after playlist is created (fixes #3344) X-Git-Tag: 1.1.0-pre1~489 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=392d0b532638ffa2e2c3890c79bbd07adb238a4d;p=vlc Run system_Configure after playlist is created (fixes #3344) --- diff --git a/src/libvlc.c b/src/libvlc.c index 226147e2fb..6ed2af2ca1 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -548,11 +548,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, } priv->i_verbose = var_InheritInteger( p_libvlc, "verbose" ); - /* - * System specific configuration - */ - system_Configure( p_libvlc, &i_argc, ppsz_argv ); - /* FIXME: could be replaced by using Unix sockets */ #ifdef HAVE_DBUS dbus_threads_init_default(); @@ -819,6 +814,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, return VLC_EGENERIC; } + /* System specific configuration */ + system_Configure( p_libvlc, &i_argc, ppsz_argv ); + /* Add service discovery modules */ psz_modules = var_InheritString( p_libvlc, "services-discovery" ); if( psz_modules )