v4l2-ctl: add prio support and a sleep option.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 1 May 2010 13:10:20 +0000 (15:10 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 1 May 2010 13:10:20 +0000 (15:10 +0200)
commitfd38e9a7d27033be9d7d37c1bf7cec29be16c34a
treed96fce9fb22505f39b3f0546e51c80a1f9436c73
parente1613786523437227b0aac5ae3ec023a2c62c805
v4l2-ctl: add prio support and a sleep option.

Add --get/set-priority to test VIDIOC_G/S_PRIORITY and add a sleep
option to let v4l2-ctl sleep for a number of seconds before closing
the file handle. Useful for testing.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
utils/v4l2-ctl/v4l2-ctl.cpp