]> git.sesse.net Git - vlc/commitdiff
Oops, remove dummy code
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 20 Oct 2008 19:25:58 +0000 (22:25 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 20 Oct 2008 19:25:58 +0000 (22:25 +0300)
modules/gui/qt4/qt4.cpp

index 193a3baa2a97d28ba92f6cd128084caa27f9b1ab..d830fa1868493ebfd23c8d1cd21ef74738811535 100755 (executable)
@@ -455,9 +455,8 @@ static void *Thread( void *obj )
         /* Destroy first the main interface because it is connected to some
            slots in the MainInputManager */
         /* Destroy under the iface lock to sync vout QPointer */
-    }
-    msleep( CLOCK_FREQ );
         delete p_mi;
+    }
 
     /* Destroy all remaining windows,
        because some are connected to some slots
@@ -519,9 +518,7 @@ static int WindowOpen (vlc_object_t *obj)
     vout_window_t *wnd = (vout_window_t *)obj;
     QPointer<MainInterface> *miP;
 
-#if 1
     if (config_GetInt (obj, "embedded-video") <= 0)
-#endif
         return VLC_EGENERIC;
 
     intf_thread_t *intf = (intf_thread_t *)