mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
v4l2: Also handle the new ENOENT return value of VIDIOC_QUERYCTRL
https://bugzilla.gnome.org/show_bug.cgi?id=691098
This commit is contained in:
parent
baac8ad663
commit
ad2f74afbc
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
|
|||
|
||||
control.id = n;
|
||||
if (v4l2_ioctl (v4l2object->video_fd, VIDIOC_QUERYCTRL, &control) < 0) {
|
||||
if (errno == EINVAL || errno == ENOTTY || errno == EIO) {
|
||||
if (errno == EINVAL || errno == ENOTTY || errno == EIO || errno == ENOENT) {
|
||||
if (n < V4L2_CID_PRIVATE_BASE) {
|
||||
GST_DEBUG_OBJECT (e, "skipping control %08x", n);
|
||||
/* continue so that we also check private controls */
|
||||
|
|
Loading…
Reference in a new issue