Commit 392d0b53 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Run system_Configure after playlist is created (fixes #3344)

parent 39e49ded
...@@ -548,11 +548,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -548,11 +548,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
} }
priv->i_verbose = var_InheritInteger( p_libvlc, "verbose" ); 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 */ /* FIXME: could be replaced by using Unix sockets */
#ifdef HAVE_DBUS #ifdef HAVE_DBUS
dbus_threads_init_default(); dbus_threads_init_default();
...@@ -819,6 +814,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -819,6 +814,9 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
return VLC_EGENERIC; return VLC_EGENERIC;
} }
/* System specific configuration */
system_Configure( p_libvlc, &i_argc, ppsz_argv );
/* Add service discovery modules */ /* Add service discovery modules */
psz_modules = var_InheritString( p_libvlc, "services-discovery" ); psz_modules = var_InheritString( p_libvlc, "services-discovery" );
if( psz_modules ) if( psz_modules )
......
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