]> git.sesse.net Git - vlc/commitdiff
Bah.. Fix HAL in libvlc
authorClément Stenac <zorglub@videolan.org>
Sun, 27 Nov 2005 15:27:52 +0000 (15:27 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 27 Nov 2005 15:27:52 +0000 (15:27 +0000)
src/libvlc.c

index 33fbeb2c3f57a682c4810da71bfd8e38ca34ea55..52684e22e3c1323e8cac8b6d6b6e22bdad58dce6 100644 (file)
@@ -2570,7 +2570,7 @@ static void InitDeviceValues( vlc_t *p_vlc )
         return;
     }
     libhal_ctx_set_dbus_connection( ctx, p_connection );
-    if( !libhal_ctx_init( ctx, &error ) )
+    if( libhal_ctx_init( ctx, &error ) )
 #else
     if( ( ctx = hal_initialize( NULL, FALSE ) ) )
 #endif
@@ -2632,7 +2632,7 @@ static void InitDeviceValues( vlc_t *p_vlc )
     }
     else
     {
-        msg_Dbg( p_vlc, "Unable to get HAL device properties" );
+        msg_Warn( p_vlc, "Unable to get HAL device properties" );
     }
 #endif
 }