glcolorconvert: order the caps template so that RGBA is first
authorMatthew Waters <matthew@centricular.com>
Thu, 29 Oct 2015 14:45:13 +0000 (01:45 +1100)
committerMatthew Waters <matthew@centricular.com>
Fri, 30 Oct 2015 03:24:53 +0000 (14:24 +1100)
glcolorconvert ! glcolorconvert would sometimes negotiated RGB
(the first list entry) otherwise.

gst-libs/gst/gl/gstglcolorconvert.h

index 8e66be4..dad6dd3 100644 (file)
@@ -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 }"