summaryrefslogtreecommitdiff
path: root/ext/gl/gstopengl.c
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-01-15 11:22:40 +1100
committerMatthew Waters <matthew@centricular.com>2016-01-15 12:05:03 +1100
commit0b9ae1f1d60d2ceb4feeede166ba2438f0a9af58 (patch)
treec30fdd635167ed3c9adb6bcac59282fec96fec5d /ext/gl/gstopengl.c
parent8e77cf1030cb66afdb9815f9d56193c8cf8fc9b6 (diff)
downloadgstreamer-plugins-bad-0b9ae1f1d60d2ceb4feeede166ba2438f0a9af58.tar.gz
gl: add a videoflip element
Behaves exactly the same as the non-GL videoflip element
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 36dc5c689..50676c4a1 100644
--- a/ext/gl/gstopengl.c
+++ b/ext/gl/gstopengl.c
@@ -65,6 +65,7 @@
#if HAVE_GRAPHENE
#include "gstgltransformation.h"
+#include "gstglvideoflip.h"
#endif
#if HAVE_JPEG
#if HAVE_PNG
@@ -175,6 +176,11 @@ plugin_init (GstPlugin * plugin)
GST_RANK_NONE, GST_TYPE_GL_TRANSFORMATION)) {
return FALSE;
}
+
+ if (!gst_element_register (plugin, "glvideoflip",
+ GST_RANK_NONE, GST_TYPE_GL_VIDEO_FLIP)) {
+ return FALSE;
+ }
#endif
if (!gst_gl_effects_register_filters (plugin, GST_RANK_NONE)) {