After doing a lot of work on v4l2-compliance I found some wrong and some
missing information in the spec. This patch series fixes and clarifies
them.
The first clarifies two corner cases: what happens with queued buffers is
STREAMON fails, and what happens if buffers are queued, STREAMON was never
called, and STREAMOFF is called.
The second fixed a bug in a code example.
The third clarifies the use of several v4l2_buffer/plane fields. In particular
who is responsible for setting them, the application or the driver.
The fourth fixes the FIELD_ALTERNATE description: sizeimage is really
that of the field, not of the frame. It makes no sense to do it the way
that the spec describes, and all the drivers implementing FIELD_ALTERNATE
set sizeimage to the field height times bytesperline.
The last patch does the same as the third but for v4l2_pix_format(_mplane).
Regards,
Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html