summaryrefslogtreecommitdiffstats
path: root/src/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video.c')
-rw-r--r--src/video.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video.c b/src/video.c
index 116e025..b8a75a0 100644
--- a/src/video.c
+++ b/src/video.c
@@ -39,18 +39,20 @@ static struct video_format formats[] = {
.description = "NV12 YUV",
.v4l2_format = V4L2_PIX_FMT_NV12,
.v4l2_buffers_count = 1,
+ .v4l2_mplane = false,
.drm_format = DRM_FORMAT_NV12,
.drm_modifier = DRM_FORMAT_MOD_NONE,
- .drm_planes_count = 2,
+ .planes_count = 2,
.bpp = 16,
},
{
.description = "Sunxi tiled NV12 YUV",
.v4l2_format = V4L2_PIX_FMT_SUNXI_TILED_NV12,
.v4l2_buffers_count = 1,
+ .v4l2_mplane = false,
.drm_format = DRM_FORMAT_NV12,
.drm_modifier = DRM_FORMAT_MOD_ALLWINNER_MB32_TILED,
- .drm_planes_count = 2,
+ .planes_count = 2,
.bpp = 16
},
};