[vlc-devel] commit: macosx: Close the window after 3 seconds of not video output, instead of 1.5. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat Jul 12 23:19:40 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul 12 23:21:59 2008 +0200| [fe6b1c62f4c290a25ad67771b86e3c3bce305edf]
macosx: Close the window after 3 seconds of not video output, instead of 1.5.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe6b1c62f4c290a25ad67771b86e3c3bce305edf
---
modules/gui/macosx/vout.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index bdda538..dd0d9ea 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];
More information about the vlc-devel
mailing list