From: Pierre d'Herbemont Date: Sat, 12 Jul 2008 21:21:59 +0000 (+0200) Subject: macosx: Close the window after 3 seconds of not video output, instead of 1.5. X-Git-Tag: 0.9.0-test2~31 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fe6b1c62f4c290a25ad67771b86e3c3bce305edf;p=vlc macosx: Close the window after 3 seconds of not video output, instead of 1.5. --- diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m index bdda538bf2..dd0d9ea1ab 100644 --- a/modules/gui/macosx/vout.m +++ b/modules/gui/macosx/vout.m @@ -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];