v4l2-compliance: restore the initial formats after testing S_FMT
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 17 Feb 2014 14:00:41 +0000 (15:00 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 17 Feb 2014 15:46:12 +0000 (16:46 +0100)
commit76a52e7ec679ca626f01896232a93de74c79aebe
treeb55d6736d2593147fd492078dded0328e67c1656
parenta7019a3d0964886ecf475cef0970064ef8deda6b
v4l2-compliance: restore the initial formats after testing S_FMT

The format you end up with after S_FMT has been run through its paces
is the smallest possible format. However, that's not what you want for
the streaming tests. So we restore the initial formats at the end of
the tests.

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