lavd/kmsgrab: Remove the mapping for AV_PIX_FMT_RGB8.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Tue, 19 Sep 2017 22:56:29 +0000 (00:56 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Tue, 19 Sep 2017 22:56:29 +0000 (00:56 +0200)
The definitions are different: 3:3:2 vs 2:3:3.

libavdevice/kmsgrab.c

index 11f23d8..6a6de09 100644 (file)
@@ -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 },