From aa32408926538816ba1ddb06a8752abce15aa86d Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 30 Oct 2015 01:45:13 +1100 Subject: [PATCH] glcolorconvert: order the caps template so that RGBA is first glcolorconvert ! glcolorconvert would sometimes negotiated RGB (the first list entry) otherwise. --- gst-libs/gst/gl/gstglcolorconvert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglcolorconvert.h b/gst-libs/gst/gl/gstglcolorconvert.h index 8e66be4d3c..dad6dd3c70 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.h +++ b/gst-libs/gst/gl/gstglcolorconvert.h @@ -84,7 +84,7 @@ struct _GstGLColorConvertClass * * The currently supported formats that can be converted */ -#define GST_GL_COLOR_CONVERT_FORMATS "{ RGB, RGBx, RGBA, BGR, BGRx, BGRA, xRGB, " \ +#define GST_GL_COLOR_CONVERT_FORMATS "{ RGBA, RGB, RGBx, BGR, BGRx, BGRA, xRGB, " \ "xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, " \ "Y41B, NV12, NV21, YUY2, UYVY, AYUV, " \ "GRAY8, GRAY16_LE, GRAY16_BE, RGB16, BGR16 }"