From: Matthew Waters Date: Thu, 29 Oct 2015 14:45:13 +0000 (+1100) Subject: glcolorconvert: order the caps template so that RGBA is first X-Git-Tag: 1.19.3~507^2~7712 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff87ffe6e646c71763d9340f6c4e403107a57945;p=platform%2Fupstream%2Fgstreamer.git glcolorconvert: order the caps template so that RGBA is first glcolorconvert ! glcolorconvert would sometimes negotiated RGB (the first list entry) otherwise. --- diff --git a/gst-libs/gst/gl/gstglcolorconvert.h b/gst-libs/gst/gl/gstglcolorconvert.h index 8e66be4..dad6dd3 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 }"