qv4l2: fix incorrect handling of fields
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 3 Mar 2014 14:02:35 +0000 (15:02 +0100)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 3 Mar 2014 14:02:35 +0000 (15:02 +0100)
commit3b5d7eb40fedd8815f6cb04e81694085285e650e
tree8446518e61226e91a3fc26b937d8809bc8889f8f
parent35a7e7d703723d0b05fcc8ea2ff109581bd181b2
qv4l2: fix incorrect handling of fields

I assumed that the format height stays the same when the field value
changes to TOP/BOTTOM/ALTERNATE, but it turns out that the height will
match that of the field height.

So update qv4l2 to match what drivers actually do.

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