qv4l2: when refreshing controls call queryctrl before setVal.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 24 Apr 2010 11:41:21 +0000 (13:41 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 24 Apr 2010 11:45:09 +0000 (13:45 +0200)
commite1f27f003943e86526fa1174754f7a256a6ad56c
tree4d7da35628057679e5242b922e424394dac5b838
parentb1b57dfb193a319e081e1ff045152e11fc8fbdfb
qv4l2: when refreshing controls call queryctrl before setVal.

setVal relies on correct control flags for the setWhat() call. So
we must update the control flags before calling setVal.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
utils/qv4l2/ctrl-tab.cpp