summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/videooutput.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-25 14:45:33 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2009-11-26 14:41:51 (GMT)
commitbff3e6d8d810dbba29978d666949f4f3bb70503f (patch)
tree76827e59bbf105e479d3f637002d8056315e49af /src/3rdparty/phonon/mmf/videooutput.cpp
parentf70ed1f2cc4cce16d6e844c961003fa7d545ed51 (diff)
downloadQt-bff3e6d8d810dbba29978d666949f4f3bb70503f.zip
Qt-bff3e6d8d810dbba29978d666949f4f3bb70503f.tar.gz
Qt-bff3e6d8d810dbba29978d666949f4f3bb70503f.tar.bz2
Changed video widget native paint mode to zero-fill native window
Certain S60 video stacks require the screen region in which video will be rendered to be painted with a zero brush (opaque black for EColor16MU displays; transparent black for EColor16MA / EColor16MAP). Task-number: QTBUG-5467 Reviewed-by: Jason Barron
Diffstat (limited to 'src/3rdparty/phonon/mmf/videooutput.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/videooutput.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/3rdparty/phonon/mmf/videooutput.cpp b/src/3rdparty/phonon/mmf/videooutput.cpp
index ddf30de..f16f332 100644
--- a/src/3rdparty/phonon/mmf/videooutput.cpp
+++ b/src/3rdparty/phonon/mmf/videooutput.cpp
@@ -72,12 +72,7 @@ MMF::VideoOutput::VideoOutput
setAttribute(Qt::WA_NoSystemBackground, true);
setAutoFillBackground(false);
- // Causes QSymbianControl::Draw not to BitBlt this widget's region of the
- // backing store. Since the backing store is (by default) a 16MU bitmap,
- // blitting it results in this widget's screen region in the final
- // framebuffer having opaque alpha values. This in turn causes the video
- // to be invisible when running on the target device.
- qt_widget_private(this)->extraData()->disableBlit = true;
+ qt_widget_private(this)->extraData()->nativePaintMode = QWExtra::ZeroFill;
getVideoWindowRect();
registerForAncestorMoved();