gl/cocoa: Use NSRect instead of CGRect
On 64 bit systems they're typedefs of each other but on 32 bit systems
not, and we pass the rect to an API that expects a NSRect
diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
index ab1d4e1..ce101ac 100644
--- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
+++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
@@ -484,7 +484,7 @@
}
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);