[vlc-commits] commit: Run system_Configure after playlist is created (fixes #3344) ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Mar 5 22:15:15 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar  5 23:14:56 2010 +0200| [392d0b532638ffa2e2c3890c79bbd07adb238a4d] | committer: Rémi Denis-Courmont 

Run system_Configure after playlist is created (fixes #3344)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=392d0b532638ffa2e2c3890c79bbd07adb238a4d
---

 src/libvlc.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 226147e..6ed2af2 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 )



More information about the vlc-commits mailing list