From 67c2b93106fb5c4faef0897413468cf0fc1ddef8 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Thu, 7 Jul 2016 23:53:54 +0100 Subject: [PATCH] v4l2: fix v4l2 probe build error A typo in gst_v4l2_probe_and_register() caused a build error when building with --enable-v4l2-probe. Fixing it. gstv4l2.c: In function 'gst_v4l2_probe_and_register': gstv4l2.c:150:25: error: 'struct v4l2_capability' has no member named 'capabilitites' device_caps = vcap.capabilitites; --- sys/v4l2/gstv4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c index d2b9a34..b5e826a 100644 --- a/sys/v4l2/gstv4l2.c +++ b/sys/v4l2/gstv4l2.c @@ -147,7 +147,7 @@ gst_v4l2_probe_and_register (GstPlugin * plugin) if (vcap.capabilities & V4L2_CAP_DEVICE_CAPS) device_caps = vcap.device_caps; else - device_caps = vcap.capabilitites; + device_caps = vcap.capabilities; if (!((device_caps & (V4L2_CAP_VIDEO_M2M | V4L2_CAP_VIDEO_M2M_MPLANE)) || /* But legacy driver may expose both CAPTURE and OUTPUT */ -- 2.7.4