summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-05-11 22:35:18 +1000
committerMatthew Waters <matthew@centricular.com>2015-05-11 22:58:37 +1000
commitd2a6e8a92e6b92cc462d1e3e18c02035cc738824 (patch)
treedbf34e33e38ba876307832ea645d953302cf3d2f
parentc948484c7fe764467ee749aa04d02617d8fee591 (diff)
downloadgstreamer-plugins-bad-d2a6e8a92e6b92cc462d1e3e18c02035cc738824.tar.gz
gl: expose internal glimagesinkelement
We might want more control over the exact pipeline. Also reduces overhead.
-rw-r--r--ext/gl/gstopengl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c
index 556f0cce0..f5246e654 100644
--- a/ext/gl/gstopengl.c
+++ b/ext/gl/gstopengl.c
@@ -116,6 +116,11 @@ plugin_init (GstPlugin * plugin)
return FALSE;
}
+ if (!gst_element_register (plugin, "glimagesinkelement",
+ GST_RANK_NONE, gst_glimage_sink_get_type ())) {
+ return FALSE;
+ }
+
if (!gst_element_register (plugin, "glupload",
GST_RANK_SECONDARY, GST_TYPE_GL_UPLOAD_ELEMENT)) {
return FALSE;