diff --git a/gst-libs/gst/gl/gstglwindow_x11_egl.c b/gst-libs/gst/gl/gstglwindow_x11_egl.c index 28a93fd016..1865f29d2a 100644 --- a/gst-libs/gst/gl/gstglwindow_x11_egl.c +++ b/gst-libs/gst/gl/gstglwindow_x11_egl.c @@ -48,17 +48,12 @@ static gboolean gst_gl_window_x11_egl_create_context (GstGLWindowX11 * static void gst_gl_window_x11_egl_destroy_context (GstGLWindowX11 * window_x11); static gboolean gst_gl_window_x11_egl_choose_format (GstGLWindowX11 * window_x11); -static GstGLPlatform gst_gl_window_x11_egl_get_platform (GstGLWindow * window); static void gst_gl_window_x11_egl_class_init (GstGLWindowX11EGLClass * klass) { - GstGLWindowClass *window_class = (GstGLWindowClass *) klass; GstGLWindowX11Class *window_x11_class = (GstGLWindowX11Class *) klass; - window_class->get_platform = - GST_DEBUG_FUNCPTR (gst_gl_window_x11_egl_get_platform); - window_x11_class->get_gl_context = GST_DEBUG_FUNCPTR (gst_gl_window_x11_egl_get_gl_context); window_x11_class->activate = @@ -91,12 +86,6 @@ gst_gl_window_x11_egl_new (GstGLRendererAPI render_api, return window; } -static GstGLPlatform -gst_gl_window_x11_egl_get_platform (GstGLWindow * window) -{ - return GST_GL_PLATFORM_EGL; -} - static gboolean gst_gl_window_x11_egl_choose_format (GstGLWindowX11 * window_x11) {