From e97fda46dc523d7d1c13aa9d6e85986226a46f54 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 20 Jul 2021 09:36:22 -0400 Subject: [PATCH] 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: --- gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c index 20ce51da76..f2d7ceb4e1 100644 --- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c +++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c @@ -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); }