qv4l2: QImage could be the wrong size
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 19 Jul 2014 22:23:46 +0000 (00:23 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sat, 19 Jul 2014 22:23:46 +0000 (00:23 +0200)
commit06b44024b52a97752b57913068205dfdcabf7844
tree6ef5f1fe9e761791ba032014ff25868fa9b6fd0b
parent6f5e636b3b02a3b180a320ba2f6fe3fd0757244f
qv4l2: QImage could be the wrong size

The QImage should be re-created every time the resolution changes, but
sometimes that didn't happen due to bad condition. Updated the condition
ensuring a correct QImage.

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