I don't believe this library currently supports multiplanar completely. I'm trying to use a raspberry pi which only supports the multiplanar API but get Invalid Argument when trying to start a stream. A strace shows it's failing a ioctl VIDIOC_QUERYBUF call.
We seem to be missing a portion of code to set the array of planes on a buffer.
I don't believe this library currently supports multiplanar completely. I'm trying to use a raspberry pi which only supports the multiplanar API but get Invalid Argument when trying to start a stream. A
strace
shows it's failing aioctl VIDIOC_QUERYBUF
call.We seem to be missing a portion of code to set the array of planes on a buffer.
This library: https://github.com/katyo/linux-video-rs/blob/5802bee38487328dc579042deaf71ee44a589aff/core/src/impls/buffer.rs#L114-L116
v4l2r implementation: https://github.com/Gnurou/v4l2r/blob/702dff5f3b3aac330a0f4f362db5d7a69f82eabc/lib/src/ioctl/querybuf.rs#L183