From: Luis de Bethencourt Date: Thu, 7 Jul 2016 22:53:54 +0000 (+0100) Subject: v4l2: fix v4l2 probe build error X-Git-Tag: 1.19.3~509^2~2646 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67c2b93106fb5c4faef0897413468cf0fc1ddef8;p=platform%2Fupstream%2Fgstreamer.git 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; --- diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c index d2b9a34a27..b5e826a3d8 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 */