[FFmpeg-cvslog] lavd/kmsgrab: Remove the mapping for AV_PIX_FMT_RGB8.

Carl Eugen Hoyos git at videolan.org
Wed Sep 20 01:57:39 EEST 2017


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Wed Sep 20 00:56:29 2017 +0200| [5cb70381d99505af00b11721165b63560b95f1cc] | committer: Carl Eugen Hoyos

lavd/kmsgrab: Remove the mapping for AV_PIX_FMT_RGB8.

The definitions are different: 3:3:2 vs 2:3:3.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5cb70381d99505af00b11721165b63560b95f1cc
---

 libavdevice/kmsgrab.c | 1 -
 1 file changed, 1 deletion(-)

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 },



More information about the ffmpeg-cvslog mailing list