mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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.
This commit is contained in:
parent
cb311d57f5
commit
428d63c2e5
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue