diff --git a/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c b/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c index 26e6df7a94..f4a5ae0de9 100644 --- a/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c +++ b/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c @@ -236,8 +236,7 @@ window_resize (GstGLWindowDispmanxEGL * window_egl, guint width, guint height, vc_dispmanx_update_submit_sync (dispman_update); - if (window->resize) - window->resize (window->resize_data, width, height); + gst_gl_window_resize (window, width, height); } window_egl->native.width = width;