diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-09-15 20:54:26 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-09-19 22:47:03 +0100 |
commit | 9f9625ea80acf4b7272f740f7b2c15cebf96d09b (patch) | |
tree | 16a25884d4c9da85a938abe41eded9e50e90a897 | |
parent | 22afa87a8e90c83d736400bf8fd6bb19152defaf (diff) | |
download | ffmpeg-9f9625ea80acf4b7272f740f7b2c15cebf96d09b.tar.gz |
kmsgrab: Remove multiple-plane formats
The planes are unlikely to be contiguous, assuming they are results in
very broken output. (Tested with NV12/NV16 on Rockchip.)
-rw-r--r-- | libavdevice/kmsgrab.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavdevice/kmsgrab.c b/libavdevice/kmsgrab.c index bcb6865f60..e54534006e 100644 --- a/libavdevice/kmsgrab.c +++ b/libavdevice/kmsgrab.c @@ -221,10 +221,6 @@ static const struct { { AV_PIX_FMT_YUYV422, DRM_FORMAT_YUYV }, { AV_PIX_FMT_YVYU422, DRM_FORMAT_YVYU }, { AV_PIX_FMT_UYVY422, DRM_FORMAT_UYVY }, - { AV_PIX_FMT_NV12, DRM_FORMAT_NV12 }, - { AV_PIX_FMT_YUV420P, DRM_FORMAT_YUV420 }, - { AV_PIX_FMT_YUV422P, DRM_FORMAT_YUV422 }, - { AV_PIX_FMT_YUV444P, DRM_FORMAT_YUV444 }, }; static av_cold int kmsgrab_read_header(AVFormatContext *avctx) |