summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Isorce <j.isorce@samsung.com>2015-06-18 10:55:28 +0100
committerJulien Isorce <j.isorce@samsung.com>2015-06-19 13:09:46 +0100
commit5c23b98e27d87c0a133f2aa4e045f78da2ed1e3e (patch)
tree5c5105543eb13aab36a6c5d1f134738f0faa6bfe
parent5b003b68cae024a1daefe0650b791f95336aeaef (diff)
Revert "glcontext: add gst_gl_context_set_display helper"
-rw-r--r--gst-libs/gst/gl/gstglcontext.c19
-rw-r--r--gst-libs/gst/gl/gstglcontext.h1
2 files changed, 0 insertions, 20 deletions
diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c
index 5e6bc2245..8a4190474 100644
--- a/gst-libs/gst/gl/gstglcontext.c
+++ b/gst-libs/gst/gl/gstglcontext.c
@@ -1566,25 +1566,6 @@ gst_gl_context_get_display (GstGLContext * context)
return gst_object_ref (context->priv->display);
}
-/**
- * gst_gl_context_set_display:
- * @context: a #GstGLContext:
- * @display: a #GstGLDisplay:
- *
- * Ref @display and unref previous display if exists.
- *
- * Since: 1.6
- */
-void
-gst_gl_context_set_display (GstGLContext * context, GstGLDisplay * display)
-{
- g_return_if_fail (GST_GL_IS_CONTEXT (context));
- g_return_if_fail (GST_IS_GL_DISPLAY (display));
-
- gst_object_replace ((GstObject **) & context->priv->display,
- (GstObject *) display);
-}
-
typedef struct
{
GstGLContext *context;
diff --git a/gst-libs/gst/gl/gstglcontext.h b/gst-libs/gst/gl/gstglcontext.h
index 3e5fc23a2..7b19d6e1c 100644
--- a/gst-libs/gst/gl/gstglcontext.h
+++ b/gst-libs/gst/gl/gstglcontext.h
@@ -124,7 +124,6 @@ gboolean gst_gl_context_activate (GstGLContext *context, gboolean a
GThread * gst_gl_context_get_thread (GstGLContext *context);
GstGLContext * gst_gl_context_get_current (void);
-void gst_gl_context_set_display (GstGLContext *context, GstGLDisplay *display);
GstGLDisplay * gst_gl_context_get_display (GstGLContext *context);
gpointer gst_gl_context_get_proc_address (GstGLContext *context, const gchar *name);
GstGLPlatform gst_gl_context_get_gl_platform (GstGLContext *context);