Blackberry: Ensure that camera viewfinder texture is upright
authorTobias Koenig <tobias.koenig.qnx@kdab.com>
Fri, 8 Feb 2013 09:51:07 +0000 (10:51 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 8 Feb 2013 12:35:05 +0000 (13:35 +0100)
commitb19ec14a62dbc8e5f5d2c20335ccd9e609321b6d
tree9f75cd8e0e05fa930d124c82177158116725005c
parent36655ccdfb55fc16044d6ebb78c27e98abf00019
Blackberry: Ensure that camera viewfinder texture is upright

Make sure that the texture is upright when the device is upright.
When rotating the device, it's the applications responsibility to
rotate the texture of the viewfinder (e.g. through the
QDeclarativeVideoOutput::orientation property).

Change-Id: I6e453ce9bdde5197104533f844b1079b3c3db908
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
src/plugins/blackberry/camera/bbcamerasession.cpp