From 5ad66dbd5e5f6fa0fdbb3e307439a472022c1f8b Mon Sep 17 00:00:00 2001 From: Patrik Jakobsson Date: Mon, 30 Nov 2015 21:54:12 +0100 Subject: [PATCH] facetimehd: Add missing init of planes --- fthd_v4l2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fthd_v4l2.c b/fthd_v4l2.c index e5294b9..4df8e85 100644 --- a/fthd_v4l2.c +++ b/fthd_v4l2.c @@ -707,6 +707,7 @@ int fthd_v4l2_register(struct fthd_private *dev_priv) dev_priv->fmt.fmt.pixelformat = V4L2_PIX_FMT_YUYV; dev_priv->fmt.fmt.width = 1280; dev_priv->fmt.fmt.height = 720; + dev_priv->fmt.planes = 1; fthd_v4l2_adjust_format(dev_priv, &dev_priv->fmt.fmt);