summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@gmail.com>2014-11-03 23:07:34 +0000
committerSebastian Dröge <sebastian@centricular.com>2014-11-04 09:53:44 +0100
commit2fbe03163c54424147fc74d525905665e4a36525 (patch)
tree7b0eef117d9fddda96b3be50ec31852596f51fc1
parenteb9218e5687036465abf65a01ad495e1a5fdb368 (diff)
downloadgstreamer-plugins-bad-2fbe03163c54424147fc74d525905665e4a36525.tar.gz
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.
-rw-r--r--gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m1
1 files changed, 1 insertions, 0 deletions
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];