Details
-
Task
-
Resolution: Done
-
P1: Critical
-
None
-
35c64028 7b8c13de d9fca820 d3babbee
Description
Using the 'overlay' QGraphicsVideoItem implementation (src/multimedia/qgraphicsvideoitem_overlay.cpp), the native window handle of the QGraphicsView widget is passed to the backend via the QVideoWindowControl interface. This means that, if multiple QGraphicsVideoItems are displayed in a single QGraphicsView, they will all be given the same native window handle.
On Symbian, it is only possible to render one video to a given native window handle. Attempting to add a second QGraphicsVideoItem will therefore cause the first to stop displaying video and just appear black.
In order to allow multiple QGraphicsVideoItems to be displayed in the same view, each one must be given its own native window handle. This could be implemented as follows:
- QGraphicsVideoItem creates a parentless QWidget, and sets its z-order so that is appears behind the QGraphicsView window
- The area of the QGraphicsView window covered by the QGraphicsVideoItem is painted with transparency
Attachments
Issue Links
- depends on
-
QTBUG-17288 Symbian raster surface doesn't get an alpha channel when WA_TranslucentBackground is set
- Closed
-
QTMOBILITY-645 Implement QGraphicsVideoItem support in QtMobility MMF backend
- Closed
-
QTMOBILITY-1033 CLONE - Implement QGraphicsVideoItem support in QtMobility MMF backend
- Closed