GNOME Bugzilla – Bug 719779
v4l2: Should not call VIDIOC_REQBUFS on _pool_set_config()
Last modified: 2014-01-10 22:05:37 UTC
Currently VIDIOC_REQBUFS is called each time the configuration of the buffer pool is changed. The problem is that VIDIOC_REQBUFS do allocated on the kernel size the required memory. Very often that memory is contiguous, which takes a lot of time to allocate, and locks a lot of resources. To add to this problem, certain driver don't allow calling this REQBUFS more then once, causing the buffer pool to be rejected.
Created attachment 263400 [details] [review] Move REQBUFS into _start()
part of 720568 *** This bug has been marked as a duplicate of bug 720568 ***