mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
v4l2allocator: fix memory type in allocator probe
The buffer memory type provided to the VIDIOC_CREATE_BUFS ioctl shall be set with the value ("memory") given as input parameter of the gst_v4l2_allocator_probe() function. https://bugzilla.gnome.org/show_bug.cgi?id=777327
This commit is contained in:
parent
7717d08835
commit
2b80cd14b0
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ gst_v4l2_allocator_probe (GstV4l2Allocator * allocator, guint32 memory,
|
|||
|
||||
flags |= breq_flag;
|
||||
|
||||
bcreate.memory = allocator->type;
|
||||
bcreate.memory = memory;
|
||||
bcreate.format = allocator->format;
|
||||
|
||||
if ((v4l2_ioctl (allocator->video_fd, VIDIOC_CREATE_BUFS, &bcreate) == 0))
|
||||
|
|
Loading…
Reference in a new issue