glContext = [[NSOpenGLContext alloc] initWithFormat:fmt
shareContext:context_cocoa->priv->external_gl_context];
- GST_DEBUG ("NSOpenGL context created: %lud\n", (guintptr) glContext);
+ GST_DEBUG ("NSOpenGL context created: %"G_GUINTPTR_FORMAT, (guintptr) glContext);
context_cocoa->priv->gl_context = glContext;
static GstGLPlatform
gst_gl_context_cocoa_get_gl_platform (GstGLContext * context)
{
- return GST_GL_API_COCOA;
+ return GST_GL_PLATFORM_CGL;
}
NSResizableWindowMask | NSMiniaturizableWindowMask)
backing: NSBackingStoreBuffered defer: NO screen: nil gstWin: window_cocoa];
- GST_DEBUG ("NSWindow id: %lud\n", (guintptr) priv->internal_win_id);
+ GST_DEBUG ("NSWindow id: %"G_GUINTPTR_FORMAT, (guintptr) priv->internal_win_id);
priv->thread = [NSThread currentThread];