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>
This commit is contained in:
committed by
The Qt Project
parent
954bb7b960
commit
18dbfc2538
@@ -12,6 +12,7 @@ PRIVATE_HEADERS += \
|
||||
video/qabstractvideobuffer_p.h \
|
||||
video/qimagevideobuffer_p.h \
|
||||
video/qmemoryvideobuffer_p.h \
|
||||
video/qvideooutputorientationhandler_p.h \
|
||||
video/qvideosurfaceoutput_p.h
|
||||
|
||||
SOURCES += \
|
||||
@@ -20,6 +21,7 @@ SOURCES += \
|
||||
video/qimagevideobuffer.cpp \
|
||||
video/qmemoryvideobuffer.cpp \
|
||||
video/qvideoframe.cpp \
|
||||
video/qvideooutputorientationhandler.cpp \
|
||||
video/qvideosurfaceformat.cpp \
|
||||
video/qvideosurfaceoutput.cpp \
|
||||
video/qvideoprobe.cpp
|
||||
|
||||
Reference in New Issue
Block a user