GNOME Bugzilla – Bug 777327
v4l2allocator: memory type not correctly set in allocator probe
Last modified: 2017-01-16 15:57:54 UTC
It seems that 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, instead of being set with the allocator type. A patch will be attached soon.
Created attachment 343557 [details] [review] v4l2allocator: fix memory type in allocator probe
Review of attachment 343557 [details] [review]: This is correct. A big oops, it worked with UVC since V4L2_BUF_TYPE_VIDEO_CAPTURE == V4L2_MEMORY_MMAP, anything else would fail.
Attachment 343557 [details] pushed as 2b80cd1 - v4l2allocator: fix memory type in allocator probe
Backported to 1.10, will be in 1.10.3, thanks. commit 1cfe086b1152983dcd9ea8b3190540648020e0e7