v4l2-compliance: add tests for output buffer error checking
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 25 Feb 2014 08:47:15 +0000 (09:47 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Tue, 25 Feb 2014 08:47:15 +0000 (09:47 +0100)
commit87e3844375f2eb13fb761e96e8bb52b2a5d91fa5
tree51f41599ff4d1fb8e99d079b89e21b534103f68d
parent10cd8d7b61c61409c43d7d9edc5dccf65ff57aec
v4l2-compliance: add tests for output buffer error checking

Add tests to check that wrong data_offset and bytesused values will
return errors.

And if bytesused == 0, then it should be replaced by the buffer length.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-compliance/v4l2-test-buffers.cpp