Add autoOrientation property to QDeclarativeVideoOutput
authorTobias Koenig <tobias.koenig.qnx@kdab.com>
Tue, 26 Feb 2013 11:00:43 +0000 (12:00 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 19 Mar 2013 12:33:43 +0000 (13:33 +0100)
commit18dbfc2538cb88164894cbc413740c3831f93e1d
tree22b934460cdf0b5447ef4e62c32b24d31b822dc8
parent954bb7b9603e6049ef3b22ddd5fad2b324d937c3
Add autoOrientation property to QDeclarativeVideoOutput

The autoOrientation property is a flag to switch on/off
automatic rotation of the video output, depending on the
current screen orientation, to always show the output
upright. This is useful when the VideoOutput is used as
viewfinder for a Camera.

Change-Id: I72753888592dc59c9adaa3343bfec8b168343229
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
src/imports/multimedia/multimedia.cpp
src/imports/multimedia/qdeclarativevideooutput.cpp
src/imports/multimedia/qdeclarativevideooutput_p.h
src/multimedia/multimedia.pro
src/multimedia/video/qvideooutputorientationhandler.cpp [new file with mode: 0644]
src/multimedia/video/qvideooutputorientationhandler_p.h [new file with mode: 0644]
src/multimedia/video/video.pri