qv4l2: fix interval updating, use device_caps, handle conversion errors.
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 10 Jun 2012 07:31:58 +0000 (09:31 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sun, 10 Jun 2012 07:31:58 +0000 (09:31 +0200)
commite29c5c0aa828b78764741480ba47bdcc0cbca674
tree165a42463b7c2197ce86db69e6038c08b2442ac5
parent2aff86ebeedf886c026f977463ba75bb689d90ef
qv4l2: fix interval updating, use device_caps, handle conversion errors.

Choosing a new interval when capturing failed (of course), but the combobox
wasn't put back to the old position.

Now support device_caps for better capability reporting.

If a format can't be converted, then still memcpy it: that's better than a
black window.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/general-tab.cpp
utils/qv4l2/qv4l2.cpp
utils/qv4l2/v4l2-api.h