summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2013-09-03 22:03:03 +1000
committerSebastian Dröge <slomo@circular-chaos.org>2013-09-03 17:42:16 +0200
commit18e5c4437818cbe9bd4d7380a355849757071e44 (patch)
tree5bc91b9b080ca7cc6f738d02d602dfb590497235
parent2af0503cc691f09af28cc2994923bdd34d098fce (diff)
x11: remove dead codeHEADmaster
-rw-r--r--gst-libs/gst/gl/x11/gstglwindow_x11.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/gst-libs/gst/gl/x11/gstglwindow_x11.c b/gst-libs/gst/gl/x11/gstglwindow_x11.c
index 1f13976..844cf52 100644
--- a/gst-libs/gst/gl/x11/gstglwindow_x11.c
+++ b/gst-libs/gst/gl/x11/gstglwindow_x11.c
@@ -236,43 +236,6 @@ failure:
}
gboolean
-gst_gl_window_x11_create_context (GstGLWindow * window,
- GstGLAPI gl_api, guintptr external_gl_context, GError ** error)
-{
- GstGLWindowX11 *window_x11 = GST_GL_WINDOW_X11 (window);
- GstGLWindowX11Class *window_class = GST_GL_WINDOW_X11_GET_CLASS (window_x11);
-
- setlocale (LC_NUMERIC, "C");
-
- gst_gl_window_set_need_lock (GST_GL_WINDOW (window_x11), FALSE);
-
- window_x11->running = TRUE;
- window_x11->visible = FALSE;
-
- if (!window_class->choose_format (window_x11, error)) {
- goto failure;
- }
-
- gst_gl_window_x11_create_window (window_x11);
-
- if (!window_class->create_context (window_x11, gl_api, external_gl_context,
- error)) {
- goto failure;
- }
-
- if (!window_class->activate (window_x11, TRUE)) {
- g_set_error (error, GST_GL_WINDOW_ERROR, GST_GL_WINDOW_ERROR_CREATE_CONTEXT,
- "Failed to make context current");
- goto failure;
- }
-
- return TRUE;
-
-failure:
- return FALSE;
-}
-
-gboolean
gst_gl_window_x11_create_window (GstGLWindowX11 * window_x11)
{
XSetWindowAttributes win_attr;