]> git.sesse.net Git - vlc/commitdiff
Another MacOS compile fix
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 17:41:19 +0000 (17:41 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 17:41:19 +0000 (17:41 +0000)
src/interface/interface.c

index a01f88cc91b72cb2f98a8362f2ce7dece52347ed..dd78729626fbcc7a6d2111afe414b20c08922651 100644 (file)
@@ -147,11 +147,12 @@ intf_thread_t* __intf_Create( vlc_object_t *p_this, const char *psz_module,
 int intf_RunThread( intf_thread_t *p_intf )
 {
 #ifdef __APPLE__
+# warning FIXME
+#if 0
     NSAutoreleasePool * o_pool;
 
     /* If !clivlc, then run as a OS X application */
-    if( p_intf->b_block && strncmp( p_intf->p_libvlc->psz_object_name,
-                                    "clivlc", 6) )
+    if( strncmp( p_intf->p_libvlc->psz_object_name, "clivlc", 6) )
     {
         o_pool = [[NSAutoreleasePool alloc] init];
         [VLCApplication sharedApplication];
@@ -166,8 +167,9 @@ int intf_RunThread( intf_thread_t *p_intf )
                 msleep( INTF_IDLE_SLEEP * 2);
         }
         vlc_object_kill( p_intf );
+        return VLC_SUCCESS;
     }
-    else
+#endif
 #endif
 
     /* This interface doesn't need to be run */