From: Pierre d'Herbemont Date: Sat, 12 Jul 2008 14:03:56 +0000 (+0200) Subject: macosx: Make sure view gets removed before we close the vout. X-Git-Tag: 0.9.0-test2~43 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a30d659bb3f3946a5efc08ace8b39825c3ad2fba;p=vlc macosx: Make sure view gets removed before we close the vout. --- 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]; }