diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index b3ac37a501..8f55f20cea 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -552,10 +552,10 @@ resize_cb (gpointer data) } - (void)drawRect: (NSRect)dirtyRect { - [self reshape]; + [self reshape:nil]; } -- (void)reshape { +- (void)reshape: (NSNotification*)notification { GstGLWindow *window; window = GST_GL_WINDOW (window_cocoa);