Commit 9f9625ea authored by Mark Thompson's avatar Mark Thompson

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.)
parent 22afa87a
...@@ -221,10 +221,6 @@ static const struct { ...@@ -221,10 +221,6 @@ static const struct {
{ AV_PIX_FMT_YUYV422, DRM_FORMAT_YUYV }, { AV_PIX_FMT_YUYV422, DRM_FORMAT_YUYV },
{ AV_PIX_FMT_YVYU422, DRM_FORMAT_YVYU }, { AV_PIX_FMT_YVYU422, DRM_FORMAT_YVYU },
{ AV_PIX_FMT_UYVY422, DRM_FORMAT_UYVY }, { 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) static av_cold int kmsgrab_read_header(AVFormatContext *avctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment