From 3662fa14c6a875fb8201b63cdaed1219ecbb0ffb Mon Sep 17 00:00:00 2001 From: Tonu Jaansoo Date: Wed, 7 Aug 2013 11:46:49 +0200 Subject: [PATCH] [788/906] osx: Fix compilation --- gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index c8b45d8b98..09ce64e058 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -419,8 +419,8 @@ gst_gl_window_cocoa_quit (GstGLWindow * window) if (GSRegisterCurrentThread() || 1) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - [app_thread_performer performSelector:@selector(stopApp) onThread:priv->thread - withObject:nil waitUntilDone:YES]; + AppThreadPerformer* app_thread_performer = [[AppThreadPerformer alloc] initWithAll:window_cocoa callback:NULL userData:NULL]; + [app_thread_performer performSelector:@selector(stopApp) onThread:priv->thread withObject:nil waitUntilDone:YES]; [pool release];