Commit 428d63c2 authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2allocator: Set the flags on the object

We where not setting the probed flags on the allocator, which mean even if
CREATE_BUFS was supported on some driver, it would endup being ignored.
parent cb311d57
......@@ -614,6 +614,8 @@ gst_v4l2_allocator_new (GstObject * parent, gint video_fd,
flags |= GST_V4L2_ALLOCATOR_PROBE (allocator, USERPTR);
flags |= GST_V4L2_ALLOCATOR_PROBE (allocator, DMABUF);
GST_OBJECT_FLAG_SET (allocator, flags);
if (flags == 0)
goto not_supported;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment