]> git.sesse.net Git - vlc/commitdiff
macosx: Close the window after 3 seconds of not video output, instead of 1.5.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 21:21:59 +0000 (23:21 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 21:21:59 +0000 (23:21 +0200)
modules/gui/macosx/vout.m

index bdda538bf230ee4b1903bda306fd3cafeae2b305..dd0d9ea1ab67c8d13a0b5209fb0fdcb4ae9c1acc 100644 (file)
@@ -987,7 +987,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
     /* Don't close the window yet, wait a bit to see if a new input is poping up */
     /* FIXME: Probably fade the window In and Out */
     /* FIXME: fix core */
-    [o_embeddedwindow performSelector:@selector(orderOut:) withObject:nil afterDelay:1.5];
+    [o_embeddedwindow performSelector:@selector(orderOut:) withObject:nil afterDelay:3.];
 
     [o_window setAcceptsMouseMovedEvents: NO];
     [[[VLCMain sharedInstance] getEmbeddedList] releaseEmbeddedVout: self];