diff options
-rw-r--r-- | gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m | 4 |
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 c8b45d8..09ce64e 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]; |