diff options
author | Andy Nichols <andy.nichols@digia.com> | 2014-03-06 17:44:14 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-20 23:06:20 +0100 |
commit | ea5d56c5ab38c929890dccc3e353b7b5fa4a79f9 (patch) | |
tree | 2b548cc583ab63a9baa5d1a5ab1bbc688c402ed6 /src/plugins/avfoundation/mediaplayer/mediaplayer.pro | |
parent | ec3d65aecf00912cb1e8a3cd9a2713e7fa4450fe (diff) |
AVFoundation: Add QVideoWindowControl support
This adds the capability to render videos directly to native
window surfaces when using the AVFoundation plugin. This adds limited
support for displaying videos from QML on iOS. These videos are
displayed in a CALayer above the QQuickWindow, so it will not be
possible to render any QtQuick items on top of a video using the
QVideoWindowControl to provide video.
[ChangeLog][QtMultimedia][iOS] Add limited support for playing videos in
QtQuick on iOS (Videos are played on top of scene with limited transform
support).
Change-Id: I80381d9a07b45b6fa1959678166e6da0004f8c19
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src/plugins/avfoundation/mediaplayer/mediaplayer.pro')
-rw-r--r-- | src/plugins/avfoundation/mediaplayer/mediaplayer.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/avfoundation/mediaplayer/mediaplayer.pro b/src/plugins/avfoundation/mediaplayer/mediaplayer.pro index e5bccd150..b5193b73d 100644 --- a/src/plugins/avfoundation/mediaplayer/mediaplayer.pro +++ b/src/plugins/avfoundation/mediaplayer/mediaplayer.pro @@ -21,7 +21,8 @@ HEADERS += \ avfmediaplayerservice.h \ avfmediaplayersession.h \ avfmediaplayerserviceplugin.h \ - avfvideooutput.h + avfvideooutput.h \ + avfvideowindowcontrol.h OBJECTIVE_SOURCES += \ avfmediaplayercontrol.mm \ @@ -29,7 +30,8 @@ OBJECTIVE_SOURCES += \ avfmediaplayerservice.mm \ avfmediaplayerserviceplugin.mm \ avfmediaplayersession.mm \ - avfvideooutput.mm + avfvideooutput.mm \ + avfvideowindowcontrol.mm qtHaveModule(widgets) { QT += multimediawidgets-private |