aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos2017-09-20 00:56:29 +0200
committerCarl Eugen Hoyos2017-09-20 00:56:29 +0200
commit5cb70381d99505af00b11721165b63560b95f1cc (patch)
tree4d80d91ee0044df8e538ee1fedbc5b2f876c2e53
parent18516d3e695980525bd9758dc7b8a8e36cd3f09e (diff)
lavd/kmsgrab: Remove the mapping for AV_PIX_FMT_RGB8.
The definitions are different: 3:3:2 vs 2:3:3.
-rw-r--r--libavdevice/kmsgrab.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavdevice/kmsgrab.c b/libavdevice/kmsgrab.c
index 11f23d8af7..6a6de09c37 100644
--- a/libavdevice/kmsgrab.c
+++ b/libavdevice/kmsgrab.c
@@ -209,7 +209,6 @@ static const struct {
{ AV_PIX_FMT_GRAY16LE, DRM_FORMAT_R16 },
{ AV_PIX_FMT_GRAY16BE, DRM_FORMAT_R16 | DRM_FORMAT_BIG_ENDIAN },
#endif
- { AV_PIX_FMT_RGB8, DRM_FORMAT_RGB332 },
{ AV_PIX_FMT_BGR8, DRM_FORMAT_BGR233 },
{ AV_PIX_FMT_RGB555LE, DRM_FORMAT_XRGB1555 },
{ AV_PIX_FMT_RGB555BE, DRM_FORMAT_XRGB1555 | DRM_FORMAT_BIG_ENDIAN },