summaryrefslogtreecommitdiff
path: root/ext/gl/gstopengl.c
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-02-11 23:29:01 +1100
committerMatthew Waters <matthew@centricular.com>2015-03-12 16:45:50 +0000
commitefaca13d11882ad2eb9ceb9cf8f0d8722d75cb88 (patch)
tree0537d85627cafe8d7f7d831444e549edc2812309 /ext/gl/gstopengl.c
parent45d85a057083da227a448987bf482c7b74b38148 (diff)
downloadgstreamer-plugins-bad-efaca13d11882ad2eb9ceb9cf8f0d8722d75cb88.tar.gz
gl: add a new glupload element based on the glupload library object
Diffstat (limited to 'ext/gl/gstopengl.c')
-rw-r--r--ext/gl/gstopengl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c
index 4212e57ac..59fe7bdaa 100644
--- a/ext/gl/gstopengl.c
+++ b/ext/gl/gstopengl.c
@@ -44,6 +44,7 @@
#endif
#include "gstglimagesink.h"
+#include "gstgluploadelement.h"
#include "gstglfiltercube.h"
#include "gstgleffects.h"
@@ -112,6 +113,11 @@ plugin_init (GstPlugin * plugin)
return FALSE;
}
+ if (!gst_element_register (plugin, "glupload",
+ GST_RANK_SECONDARY, GST_TYPE_GL_UPLOAD_ELEMENT)) {
+ return FALSE;
+ }
+
if (!gst_element_register (plugin, "glfiltercube",
GST_RANK_NONE, GST_TYPE_GL_FILTER_CUBE)) {
return FALSE;