gl/cocoa: make sure to turn on frame rectangle changes notifications
authorJulien Isorce <julien.isorce@gmail.com>
Mon, 3 Nov 2014 23:07:34 +0000 (23:07 +0000)
committerJulien Isorce <julien.isorce@gmail.com>
Mon, 3 Nov 2014 23:07:34 +0000 (23:07 +0000)
Default value of property postsFrameChangedNotifications is YES
but it is worth to explicitly enable it.

gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m

index 66ead8f..cac72e6 100644 (file)
@@ -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];