summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2021-07-20 09:36:22 -0400
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-07-21 20:56:23 +0000
commite97fda46dc523d7d1c13aa9d6e85986226a46f54 (patch)
tree5ea73b4197c1a6f49c5e18211f02b3102312740f
parent5bfb78aa287c3aabbf0525f35e2de66955c3781f (diff)
downloadgstreamer-plugins-base-e97fda46dc523d7d1c13aa9d6e85986226a46f54.tar.gz
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>
-rw-r--r--gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c4
1 files changed, 0 insertions, 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 20ce51da7..f2d7ceb4e 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);
}