You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the multi-planar API, every plane of every buffer has to be mapped separately, so the number of calls to mmap() should be equal to number of buffers times number of planes in each buffer.
But the code when in mp mode only maps a single plane per buffer without checking v4l2_buffer::length
https://www.kernel.org/doc/html/v4.9/media/uapi/v4l/mmap.html#mmap says:
But the code when in mp mode only maps a single plane per buffer without checking v4l2_buffer::length
examples/BasicV4L2/Source/Camera.cpp
Line 123 in fd8b9cf
Should this code be mapping as many planes as v4l2_buffer::length indicates?
The text was updated successfully, but these errors were encountered: