diff options
author | Yoann Lopes <yoann.lopes@digia.com> | 2014-03-07 14:19:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-07 14:59:40 +0100 |
commit | a07530d6061edbec703ab0590eca103a787068e8 (patch) | |
tree | 1c6c4ef86cf8b1924ca6192aca50fb1ff899a852 /examples | |
parent | 024c8414155e39b64e23066f1335166cee70a9a7 (diff) | |
download | qtmultimedia-a07530d6061edbec703ab0590eca103a787068e8.tar.gz |
Make declarative-camera example show frames in the correct orientation.
VideoOutput's autoOrientation property should be set to true in order
to always have the video frames in the same orientation as the screen.
Change-Id: I76ebb2979070e52d4f62972d63896eada1a208be
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multimedia/declarative-camera/declarative-camera.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/multimedia/declarative-camera/declarative-camera.qml b/examples/multimedia/declarative-camera/declarative-camera.qml index 3e7ed4c25..b22d5cfe9 100644 --- a/examples/multimedia/declarative-camera/declarative-camera.qml +++ b/examples/multimedia/declarative-camera/declarative-camera.qml @@ -39,7 +39,7 @@ ****************************************************************************/ import QtQuick 2.0 -import QtMultimedia 5.0 +import QtMultimedia 5.2 Rectangle { id : cameraUI @@ -129,6 +129,7 @@ Rectangle { height: parent.height source: camera + autoOrientation: true } PhotoCaptureControls { |