From 2fbe03163c54424147fc74d525905665e4a36525 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Mon, 3 Nov 2014 23:07:34 +0000 Subject: gl/cocoa: make sure to turn on frame rectangle changes notifications Default value of property postsFrameChangedNotifications is YES but it is worth to explicitly enable it. --- gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index c1890d2aa..8989ea9d9 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -493,6 +493,7 @@ close_window_cb (gpointer data) #endif /* Get notified about changes */ + [self setPostsFrameChangedNotifications:YES]; [[NSNotificationCenter defaultCenter] addObserver: self selector:@selector(reshape:) name: NSViewFrameDidChangeNotification object: self]; [self setWantsBestResolutionOpenGLSurface:YES]; -- cgit v1.2.1