mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
v4l2allocator: Fix CREATE_BUF probing
Current for every memory type we where probing MMAP CREATE_BUFS ioct. https://bugzilla.gnome.org/show_bug.cgi?id=741134
This commit is contained in:
parent
c466ff4748
commit
b80edd2ee2
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ gst_v4l2_allocator_probe (GstV4l2Allocator * allocator, guint32 memory,
|
||||||
|
|
||||||
flags |= breq_flag;
|
flags |= breq_flag;
|
||||||
|
|
||||||
bcreate.memory = V4L2_MEMORY_MMAP;
|
bcreate.memory = allocator->type;
|
||||||
bcreate.format = allocator->format;
|
bcreate.format = allocator->format;
|
||||||
|
|
||||||
if ((v4l2_ioctl (allocator->video_fd, VIDIOC_CREATE_BUFS, &bcreate) == 0))
|
if ((v4l2_ioctl (allocator->video_fd, VIDIOC_CREATE_BUFS, &bcreate) == 0))
|
||||||
|
|
Loading…
Reference in a new issue