[vlc-devel] commit: macosx: Make sure view gets removed before we close the vout. ( Pierre d'Herbemont )

git version control git at videolan.org
Sat Jul 12 17:34:12 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul 12 16:03:56 2008 +0200| [a30d659bb3f3946a5efc08ace8b39825c3ad2fba]

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a30d659bb3f3946a5efc08ace8b39825c3ad2fba
---

 modules/gui/macosx/vout.m |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index 3961e0b..8c70680 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];
 }




More information about the vlc-devel mailing list