mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
wayland: Use generated formats list
Update the order according to what the generator produces. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5304>
This commit is contained in:
parent
5af78522b7
commit
16ae1286d1
1 changed files with 9 additions and 4 deletions
|
@ -36,10 +36,15 @@ G_BEGIN_DECLS
|
|||
*
|
||||
* Since: 1.24
|
||||
*/
|
||||
#define GST_WL_VIDEO_FORMATS \
|
||||
"{ AYUV, ABGR, ARGB, BGRA, RGBA, P010_10LE, YUV9, YVU9, Y41B, I420, YV12, " \
|
||||
"NV12, NV21, Y42B, NV16, NV61, UYVY, YUY2, YVYU, BGRx, RGBx, xBGR, xRGB, " \
|
||||
"v308, BGR, RGB, BGR16, RGB16 }"
|
||||
#if G_BYTE_ORDER == G_BIG_ENDIAN
|
||||
#define GST_WL_VIDEO_FORMATS "{ AYUV, ABGR, ARGB, BGRA, RGBA, P010_10LE, BGRx, " \
|
||||
"RGBx, xBGR, xRGB, v308, BGR, RGB, Y42B, NV16, NV61, UYVY, YUY2, YVYU, " \
|
||||
"I420, YV12, NV12, NV21, Y41B, YUV9, YVU9, BGR16, RGB16 }"
|
||||
#elif G_BYTE_ORDER == G_LITTLE_ENDIAN
|
||||
#define GST_WL_VIDEO_FORMATS "{ AYUV, ABGR, ARGB, BGRA, RGBA, P010_10LE, BGRx, " \
|
||||
"RGBx, xBGR, xRGB, v308, BGR, RGB, Y42B, NV16, NV61, UYVY, YUY2, YVYU, " \
|
||||
"I420, YV12, NV12, NV21, Y41B, YUV9, YVU9, BGR16, RGB16 }"
|
||||
#endif
|
||||
|
||||
GST_WL_API
|
||||
void gst_wl_videoformat_init_once (void);
|
||||
|
|
Loading…
Reference in a new issue