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

macosx: Make sure view gets removed before we close the vout.

parent 95779dd9
...@@ -961,12 +961,13 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -961,12 +961,13 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
- (void)closeVout - (void)closeVout
{ {
[super closeVout];
/* 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:1.5];
[super closeVout];
[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