v4l2-ctl: fix -w support.
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 2 Jul 2011 10:04:36 +0000 (12:04 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sat, 2 Jul 2011 10:04:36 +0000 (12:04 +0200)
commitda4bf0b463469ce44de93144f0fcd43e683c9f9e
tree274044701a25274dc893180511cf37f35a7d5ac5
parentf8fb6641fced89293b1f5f2adc2a789b53906ea2
v4l2-ctl: fix -w support.

The -w option (use the libv4l2 wrapper library) never worked since the v4l2_open
and v4l2_close functions were never called. Fixed this.

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