glwindow: wayland: Remove redundant create_surfaces call

The surfaces will be created in _roundtrip_async, so no need to call
this early. This should cause no functional difference.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1230>
This commit is contained in:
Nicolas Dufresne 2021-07-20 09:36:22 -04:00 committed by GStreamer Marge Bot
parent 5bfb78aa28
commit e97fda46dc

View file

@ -640,10 +640,6 @@ _roundtrip_async (GstGLWindow * window)
static void
gst_gl_window_wayland_egl_show (GstGLWindow * window)
{
GstGLWindowWaylandEGL *window_egl = GST_GL_WINDOW_WAYLAND_EGL (window);
create_surfaces (window_egl);
gst_gl_window_send_message (window, (GstGLWindowCB) _roundtrip_async, window);
}