mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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;
This commit is contained in:
parent
dfdc15c548
commit
67c2b93106
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue