summaryrefslogtreecommitdiff
path: root/sys/v4l2/gstv4l2allocator.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2014-04-28 08:48:26 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2014-05-08 15:56:37 -0400
commit74a64be001ddf7a2e774cbe2f6e63d084a057141 (patch)
treec2d9fd3f318d3cc0a16bc074d835946a3fd8797e /sys/v4l2/gstv4l2allocator.c
parent3500e44f179cad86e34af881162057ff96bfa3ee (diff)
v4l2-allocator: Add S to REQBUFS/CREATE_BUFS enum
All enum that has REQBUFS and CREATE_BUFS where missing S, which was confusing since they are supposed to match with associcated ioctl name. This also fixes the yet unused CAN_REQUEST flag check.
Diffstat (limited to 'sys/v4l2/gstv4l2allocator.c')
-rw-r--r--sys/v4l2/gstv4l2allocator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/v4l2/gstv4l2allocator.c b/sys/v4l2/gstv4l2allocator.c
index fa884f6ec..dc1573afd 100644
--- a/sys/v4l2/gstv4l2allocator.c
+++ b/sys/v4l2/gstv4l2allocator.c
@@ -461,8 +461,8 @@ gst_v4l2_allocator_init (GstV4l2Allocator * allocator)
#define GST_V4L2_ALLOCATOR_PROBE(obj,type) \
gst_v4l2_allocator_probe ((obj), V4L2_MEMORY_ ## type, \
- GST_V4L2_ALLOCATOR_FLAG_ ## type ## _REQBUF, \
- GST_V4L2_ALLOCATOR_FLAG_ ## type ## _CREATE_BUF)
+ GST_V4L2_ALLOCATOR_FLAG_ ## type ## _REQBUFS, \
+ GST_V4L2_ALLOCATOR_FLAG_ ## type ## _CREATE_BUFS)
static guint32
gst_v4l2_allocator_probe (GstV4l2Allocator * allocator, guint32 memory,
guint32 breq_flag, guint32 bcreate_flag)