diff --git a/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m b/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m index 486763ea89..63c508fd72 100644 --- a/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m @@ -176,7 +176,7 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api, 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; @@ -262,5 +262,5 @@ gst_gl_context_cocoa_get_gl_api (GstGLContext * context) static GstGLPlatform gst_gl_context_cocoa_get_gl_platform (GstGLContext * context) { - return GST_GL_API_COCOA; + return GST_GL_PLATFORM_CGL; } diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index 280d614b87..271c30d895 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -148,7 +148,7 @@ gst_gl_window_cocoa_create_window (GstGLWindowCocoa *window_cocoa) 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];