summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/cocoa
diff options
context:
space:
mode:
authorTonu Jaansoo <chain@bsd.ee>2013-08-07 11:46:49 +0200
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:37:00 +0100
commit3662fa14c6a875fb8201b63cdaed1219ecbb0ffb (patch)
tree0db087cedc6d2147bfc9e513a6f8afa0ecbb74d9 /gst-libs/gst/gl/cocoa
parente45dfb2f930155dafbf9c793db40f15ec471b4ac (diff)
[788/906] osx: Fix compilation
Diffstat (limited to 'gst-libs/gst/gl/cocoa')
-rw-r--r--gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m4
1 files 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 c8b45d8b9..09ce64e05 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];