Commit fe6b1c62 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Close the window after 3 seconds of not video output, instead of 1.5.

parent d521d1d3
...@@ -987,7 +987,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -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 */ /* 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: Probably fade the window In and Out */
/* FIXME: fix core */ /* 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]; [o_window setAcceptsMouseMovedEvents: NO];
[[[VLCMain sharedInstance] getEmbeddedList] releaseEmbeddedVout: self]; [[[VLCMain sharedInstance] getEmbeddedList] releaseEmbeddedVout: self];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment