Otherwise when resizing the window you will also get messages like:
class NSConcreteMapTable autoreleased with no pool in place - just leaking
class NSConcreteValue autoreleased with no pool in place - just leaking
class NSConcreteValue autoreleased with no pool in place - just leaking
class __NSCFDictionary autoreleased with no pool in place - just leaking
static void
resize_cb (gpointer data)
{
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
struct resize *resize_data = data;
GstGLWindowCocoa *window_cocoa = resize_data->window;
GstGLWindow *window = GST_GL_WINDOW (window_cocoa);
[glContext flushBuffer];
}
gst_object_unref (context);
+ [pool release];
}
- (void)renewGState {