[788/906] osx: Fix compilation

This commit is contained in:
Tonu Jaansoo 2013-08-07 11:46:49 +02:00 committed by Matthew Waters
parent e45dfb2f93
commit 3662fa14c6

View file

@ -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];