summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-10-07 15:39:18 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-10-07 15:39:47 +0100
commit97285753fc9c0ffe594a1c84763d0bd0faaca074 (patch)
tree85dbe7ba5d92b85d0e1915da158b84af01affb36 /sys
parent263494f9c74ab59ddb69beeaf8ea6cdfd0de1a48 (diff)
v4l2: fix build without libv4l
https://bugzilla.gnome.org/show_bug.cgi?id=779466
Diffstat (limited to 'sys')
-rw-r--r--sys/v4l2/gstv4l2object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
index ac3cffc6f..a2848cae3 100644
--- a/sys/v4l2/gstv4l2object.c
+++ b/sys/v4l2/gstv4l2object.c
@@ -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;