From dfddc4b9104d4e91a12bbace87d956222aa420c8 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 11 May 2015 22:35:18 +1000 Subject: [PATCH] gl: expose internal glimagesinkelement We might want more control over the exact pipeline. Also reduces overhead. --- ext/gl/gstopengl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c index 556f0cc..f5246e6 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; -- 2.7.4