From f44b430bc75daee6fbaab6977fed0617aebabb67 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Mon, 3 Nov 2014 23:07:34 +0000 Subject: [PATCH] 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 66ead8fe07..cac72e6360 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];