diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index ab1d4e1405..ce101ac3ff 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -484,7 +484,7 @@ _set_render_rectangle (gpointer data) } view = [internal_win_id contentView]; - CGRect newMainViewFrame = CGRectMake(render->rect.x, + NSRect newMainViewFrame = NSMakeRect(render->rect.x, render->rect.y, render->rect.w, render->rect.h);