qv4l2: call setFrame before resize to get correct frame size calculation
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 12 Aug 2013 08:36:22 +0000 (10:36 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 12 Aug 2013 08:36:22 +0000 (10:36 +0200)
commit30e1668d95181cf258cd1491ae0453dce0498d76
tree09849d15ac4f049d4102a8e69228f9d5874d82c0
parent4b9c9e02872b4cc9aaacf9365b31e9cd61bf529b
qv4l2: call setFrame before resize to get correct frame size calculation

Going from PAL to NTSC and back to PAL would cause an incorrect size
calculation since resize was called without the capture window being
informed about the new frame size.

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