From 461201c396a9a7310e91ca8637157dfb5317c4b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 29 Jun 2016 23:55:18 -0400 Subject: [PATCH] glvideoconvert: RG/LA is available in OpenGL ES 3, so let that through --- gst-libs/gst/gl/gstglcolorconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index adc54fc..ebddb2d 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.c +++ b/gst-libs/gst/gl/gstglcolorconvert.c @@ -1969,7 +1969,7 @@ _init_convert (GstGLColorConvert * convert) } /* Requires reading from a RG/LA framebuffer... */ - if (USING_GLES2 (convert->context) && + if (USING_GLES2 (convert->context) && !USING_GLES3 (convert->context) && (GST_VIDEO_INFO_FORMAT (&convert->out_info) == GST_VIDEO_FORMAT_YUY2 || GST_VIDEO_INFO_FORMAT (&convert->out_info) == GST_VIDEO_FORMAT_UYVY)) { -- 2.7.4