diff options
author | Matthew Waters <matthew@centricular.com> | 2016-03-16 22:16:34 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2016-03-17 02:28:32 +1100 |
commit | 96754a6d52bd62b2c72068a030c0d86b2e04b015 (patch) | |
tree | 1382900d8e77e639ecb2c610b9d3b791e46b31d7 | |
parent | 0acdcc1b37ea986a56f8749206e77772dc258824 (diff) | |
download | gstreamer-plugins-bad-96754a6d52bd62b2c72068a030c0d86b2e04b015.tar.gz |
glstereo{mix,split}: allow running on GLES 2/3
It's mostly supported for GLES 2.x, fully supported on GLES 3.x
-rw-r--r-- | ext/gl/gstglstereomix.c | 3 | ||||
-rw-r--r-- | ext/gl/gstglstereosplit.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/gl/gstglstereomix.c b/ext/gl/gstglstereomix.c index ed604b2c8..989d7f61e 100644 --- a/ext/gl/gstglstereomix.c +++ b/ext/gl/gstglstereomix.c @@ -167,7 +167,8 @@ gst_gl_stereo_mix_class_init (GstGLStereoMixClass * klass) gst_gl_stereo_mix_get_output_buffer; videoaggregator_class->find_best_format = gst_gl_stereo_mix_find_best_format; - base_mix_class->supported_gl_api = GST_GL_API_OPENGL | GST_GL_API_OPENGL3; + base_mix_class->supported_gl_api = + GST_GL_API_GLES2 | GST_GL_API_OPENGL | GST_GL_API_OPENGL3; } static void diff --git a/ext/gl/gstglstereosplit.c b/ext/gl/gstglstereosplit.c index fc93b1ac4..eba713ccd 100644 --- a/ext/gl/gstglstereosplit.c +++ b/ext/gl/gstglstereosplit.c @@ -45,7 +45,7 @@ #define GST_CAT_DEFAULT gst_gl_stereosplit_debug GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); -#define SUPPORTED_GL_APIS GST_GL_API_OPENGL | GST_GL_API_OPENGL3 +#define SUPPORTED_GL_APIS GST_GL_API_GLES2 | GST_GL_API_OPENGL | GST_GL_API_OPENGL3 #define DEBUG_INIT \ GST_DEBUG_CATEGORY_INIT (gst_gl_stereosplit_debug, "glstereosplit", 0, "glstereosplit element"); |