From d2a6e8a92e6b92cc462d1e3e18c02035cc738824 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 556f0cce00..f5246e6545 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;