]> git.sesse.net Git - vlc/blobdiff - src/libvlc-common.c
Specifying --fake-file-reload 5 reloads the image file every 5 seconds. This will...
[vlc] / src / libvlc-common.c
index 2c03b2ccaf42210a4c8fd37e1094e544999b5fed..5e02e795c9696961dc3fd58d5267babf2df37489 100644 (file)
@@ -287,7 +287,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
     module_InitBank( p_libvlc );
 
     /* Hack: insert the help module here */
-    p_help_module = vlc_object_create( p_libvlc, VLC_OBJECT_MODULE );
+    p_help_module = vlc_module_create( VLC_OBJECT(p_libvlc) );
     if( p_help_module == NULL )
     {
         module_EndBank( p_libvlc );
@@ -1952,7 +1952,6 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
     p_connection = dbus_bus_get ( DBUS_BUS_SYSTEM, &error );
     if( dbus_error_is_set( &error ) || !p_connection )
     {
-        libhal_ctx_shutdown( ctx, NULL );
         dbus_error_free( &error );
         return;
     }