qv4l2: reset size after changing aspect ratios or scaling mode
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Jul 2014 13:36:50 +0000 (15:36 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Jul 2014 13:36:50 +0000 (15:36 +0200)
commit7b7fc920488991bd5776b351a2ac6ee2f58b3342
treefe0f0d198495c6da49cb9c1d61783926c1551a07
parent0c9a761a8a2c292b3164624a5bd446a28ee764ac
qv4l2: reset size after changing aspect ratios or scaling mode

When the video or pixel aspect ratio is changed by the user, or if
scaling is enabled/disabled, reset the window size to the optimal
size. This behavior is much more natural.

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