v4l2-compliance: various fixes.
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 26 May 2012 07:46:45 +0000 (09:46 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sat, 26 May 2012 07:46:45 +0000 (09:46 +0200)
commita9baad093d32036664264d37b011f484709b7088
treea9f76cf4ec1ed70503e920209514796ee9c57a0f
parent499dbab42b914ffd75415cc59e1bbfa4eaf565c2
v4l2-compliance: various fixes.

- set node.caps to vcap.device_caps if possible
- G/S_CTRL didn't test properly for the corner case where there are no
  controls at all.
- fix an overly strict test: 'LANG1 capability, but NTSC-M standard'. If the
  tuner supports PAL as well, then this is perfectly legal.

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