v4l2-ctl: fix standard parsing.
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 9 Sep 2012 08:30:53 +0000 (10:30 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sun, 9 Sep 2012 08:30:53 +0000 (10:30 +0200)
commit84e17da0f811cecc3059c67466be6caba6956a31
tree99c82afb957dbfb2514aeae96bdf0ffd4c34030f
parente50bae72cb3ad0220d5b47d004eb32e83558d7e1
v4l2-ctl: fix standard parsing.

The standard parsing code wasn't case insensitive and it also didn't
give an error if it couldn't parse the standard.

So pal-60 would work while PAL-60 would silently fail to parse and give
a bogus standard mask.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-ctl/v4l2-ctl-stds.cpp