From a30d659bb3f3946a5efc08ace8b39825c3ad2fba Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sat, 12 Jul 2008 16:03:56 +0200 Subject: [PATCH] macosx: Make sure view gets removed before we close the vout. --- modules/gui/macosx/vout.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m index 3961e0b4e0..8c70680158 100644 --- a/modules/gui/macosx/vout.m +++ b/modules/gui/macosx/vout.m @@ -961,12 +961,13 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, - (void)closeVout { + [super closeVout]; + /* 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]; - [super closeVout]; [o_window setAcceptsMouseMovedEvents: NO]; [[[VLCMain sharedInstance] getEmbeddedList] releaseEmbeddedVout: self]; } -- 2.39.2