v4l2: fix build without libv4l
https://bugzilla.gnome.org/show_bug.cgi?id=779466
This commit is contained in:
parent
263494f9c7
commit
97285753fc
@ -2864,7 +2864,7 @@ gst_v4l2_object_is_dmabuf_supported (GstV4l2Object * v4l2object)
|
||||
};
|
||||
|
||||
/* Expected to fail, but ENOTTY tells us that it is not implemented. */
|
||||
v4l2_ioctl (v4l2object->video_fd, VIDIOC_EXPBUF, &expbuf);
|
||||
v4l2object->ioctl (v4l2object->video_fd, VIDIOC_EXPBUF, &expbuf);
|
||||
if (errno == -ENOTTY)
|
||||
ret = FALSE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user