From: Matthew Waters Date: Thu, 15 Nov 2012 10:46:21 +0000 (+1100) Subject: [610/906] WindowX11EGL: remove get_platform call X-Git-Tag: 1.19.3~511^2~1989^2~1906 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22aa2e093dca7fd5935325fc0a9545cca2218f75;p=platform%2Fupstream%2Fgstreamer.git [610/906] WindowX11EGL: remove get_platform call --- diff --git a/gst-libs/gst/gl/gstglwindow_x11_egl.c b/gst-libs/gst/gl/gstglwindow_x11_egl.c index 28a93fd..1865f29 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) {