summaryrefslogtreecommitdiff
path: root/ext/gl/gstopengl.c
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-02-19 13:24:59 +1100
committerMatthew Waters <matthew@centricular.com>2015-03-12 16:45:50 +0000
commita7cbc04abae0af115dc02a075f002189865a4cfb (patch)
tree33e7b09c7d1a3c1f27a6b4b72f86e07a90f7ca4b /ext/gl/gstopengl.c
parent3514600bf30df3de319c9e572b0903cf4b847050 (diff)
downloadgstreamer-plugins-bad-a7cbc04abae0af115dc02a075f002189865a4cfb.tar.gz
gl: add new gldownloadelement
Simply transforms caps to/from raw/glmemory capsfeatures
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 db9136957..59624b62b 100644
--- a/ext/gl/gstopengl.c
+++ b/ext/gl/gstopengl.c
@@ -45,6 +45,7 @@
#include "gstglimagesink.h"
#include "gstgluploadelement.h"
+#include "gstgldownloadelement.h"
#include "gstglcolorconvertelement.h"
#include "gstglfiltercube.h"
@@ -119,6 +120,11 @@ plugin_init (GstPlugin * plugin)
return FALSE;
}
+ if (!gst_element_register (plugin, "gldownload",
+ GST_RANK_SECONDARY, GST_TYPE_GL_DOWNLOAD_ELEMENT)) {
+ return FALSE;
+ }
+
if (!gst_element_register (plugin, "glcolorconvert",
GST_RANK_SECONDARY, GST_TYPE_GL_COLOR_CONVERT_ELEMENT)) {
return FALSE;