gl: expose internal glimagesinkelement
authorMatthew Waters <matthew@centricular.com>
Mon, 11 May 2015 12:35:18 +0000 (22:35 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:00 +0000 (19:32 +0000)
We might want more control over the exact pipeline.
Also reduces overhead.

ext/gl/gstopengl.c

index 556f0cc..f5246e6 100644 (file)
@@ -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;