AVFoundation: Add QVideoWindowControl support
authorAndy Nichols <andy.nichols@digia.com>
Thu, 6 Mar 2014 16:44:14 +0000 (17:44 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 20 Mar 2014 22:06:20 +0000 (23:06 +0100)
commitea5d56c5ab38c929890dccc3e353b7b5fa4a79f9
tree2b548cc583ab63a9baa5d1a5ab1bbc688c402ed6
parentec3d65aecf00912cb1e8a3cd9a2713e7fa4450fe
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>
src/plugins/avfoundation/mediaplayer/avfmediaplayerservice.mm
src/plugins/avfoundation/mediaplayer/avfvideowindowcontrol.h [new file with mode: 0644]
src/plugins/avfoundation/mediaplayer/avfvideowindowcontrol.mm [new file with mode: 0644]
src/plugins/avfoundation/mediaplayer/mediaplayer.pro