glstereo{mix,split}: allow running on GLES 2/3

It's mostly supported for GLES 2.x, fully supported on GLES 3.x
This commit is contained in:
Matthew Waters 2016-03-16 22:16:34 +11:00
parent ca15a26c11
commit 81d724a325

View file

@ -167,7 +167,8 @@ gst_gl_stereo_mix_class_init (GstGLStereoMixClass * klass)
gst_gl_stereo_mix_get_output_buffer; gst_gl_stereo_mix_get_output_buffer;
videoaggregator_class->find_best_format = gst_gl_stereo_mix_find_best_format; 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 static void