Blackberry: Implement QVideoRendererControl for QMediaPlayer backend
authorTobias Koenig <tobias.koenig.qnx@kdab.com>
Tue, 19 Feb 2013 14:51:30 +0000 (15:51 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 22 Feb 2013 15:17:44 +0000 (16:17 +0100)
commit1ddad9e0f43e547ee2b08e87a64f41935d19cdbb
treebce4feb740dc1513ae5140bffa0b927d8b831670
parent31b454b8d6d27dec0fb39987eb315fe93de7eda1
Blackberry: Implement QVideoRendererControl for QMediaPlayer backend

If the application is not supposed to play back DRM secured media,
we grab the pixel data from the native mmrenderer window now
and make them available to the QAbstractVideoSurface of the
QVideoRendererControl. This allows the usage of all transformations
on video output inside QtQuick.

Change-Id: I73d05404b1ac9c5f74a234d9393b981a6fbcb317
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
src/plugins/blackberry/mediaplayer/bbmediaplayercontrol.cpp
src/plugins/blackberry/mediaplayer/bbmediaplayercontrol.h
src/plugins/blackberry/mediaplayer/bbmediaplayerservice.cpp
src/plugins/blackberry/mediaplayer/bbmediaplayerservice.h
src/plugins/blackberry/mediaplayer/bbplayervideorenderercontrol.cpp [new file with mode: 0644]
src/plugins/blackberry/mediaplayer/bbplayervideorenderercontrol.h [new file with mode: 0644]
src/plugins/blackberry/mediaplayer/bbutil.cpp
src/plugins/blackberry/mediaplayer/bbutil.h
src/plugins/blackberry/mediaplayer/bbvideowindowcontrol.cpp
src/plugins/blackberry/mediaplayer/mediaplayer.pri