diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-07-07 23:53:54 +0100 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-07-07 23:55:33 +0100 |
commit | 67c2b93106fb5c4faef0897413468cf0fc1ddef8 (patch) | |
tree | 18ecd6cfc88b8cb7dfbbbb9a477bfc2e88c7178b /sys/v4l2/gstv4l2.c | |
parent | dfdc15c548a0df957bfd9cb6944f4f099bd52b03 (diff) |
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;
Diffstat (limited to 'sys/v4l2/gstv4l2.c')
-rw-r--r-- | sys/v4l2/gstv4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2.c b/sys/v4l2/gstv4l2.c index d2b9a34a2..b5e826a3d 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 */ |