v4l2-compliance: more nasty evil stream I/O checks
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Feb 2014 17:15:26 +0000 (18:15 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Feb 2014 17:15:26 +0000 (18:15 +0100)
commitb56604f4323a06e3e2d8f0833e24cad306cf81ab
treea907f6be71c896c839af3a2c18bf1b8422d14988
parent668f2266ab5e2ca2fddde31f8b00f2c07180a24d
v4l2-compliance: more nasty evil stream I/O checks

After queuing buffers, then calling STREAMOFF without having called STREAMON
we should be able to queue those buffers again.

After queuing buffers, then calling REQBUFS without having called STREAMON
all the old buffers should be freed correctly: good check for making sure all
the vb2 ops stay balanced.

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