]> git.sesse.net Git - vlc/commitdiff
macosx: Make sure view gets removed before we close the vout.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 14:03:56 +0000 (16:03 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 15:36:28 +0000 (17:36 +0200)
modules/gui/macosx/vout.m

index 3961e0b4e0063d15e082bedd2d933313ef888123..8c7068015863f457ea859687c5b25a4b63224b67 100644 (file)
@@ -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];
 }