kmssink: Remove big endian format inversion
This has been a bad interpretation of the DRM docuemntation. The formats are
fixed regardless the CPU, but for some formats, they expressed in the opposite
order as GStreamer. Same change was done in waylandsink 2 years ago.
b393b650ab
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2530>
This commit is contained in:
parent
e05c022c48
commit
107b8f3ba2
@ -42,7 +42,6 @@ static const struct
|
||||
|
||||
/* DEF_FMT (XRGB1555, ???), */
|
||||
/* DEF_FMT (XBGR1555, ???), */
|
||||
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
||||
DEF_FMT (ARGB8888, BGRA),
|
||||
DEF_FMT (XRGB8888, BGRx),
|
||||
DEF_FMT (ABGR8888, RGBA),
|
||||
@ -51,16 +50,6 @@ static const struct
|
||||
DEF_FMT (RGB888, BGR),
|
||||
DEF_FMT (P010, P010_10LE),
|
||||
DEF_FMT (P016, P016_LE),
|
||||
#else
|
||||
DEF_FMT (ARGB8888, ARGB),
|
||||
DEF_FMT (XRGB8888, xRGB),
|
||||
DEF_FMT (ABGR8888, ABGR),
|
||||
DEF_FMT (XBGR8888, xBGR),
|
||||
DEF_FMT (RGB888, RGB),
|
||||
DEF_FMT (BGR888, BGR),
|
||||
DEF_FMT (P010, P010_10BE),
|
||||
DEF_FMT (P016, P016_BE),
|
||||
#endif
|
||||
DEF_FMT (UYVY, UYVY),
|
||||
DEF_FMT (YUYV, YUY2),
|
||||
DEF_FMT (YVYU, YVYU),
|
||||
|
Loading…
x
Reference in New Issue
Block a user