From 986cb04de0e0989a40ea164f823f9a987fd98fd8 Mon Sep 17 00:00:00 2001 From: Gareth Stockwell Date: Mon, 21 Sep 2009 13:24:05 +0100 Subject: Modified video widget to set disableBlit flag --- src/3rdparty/phonon/mmf/videooutput.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/3rdparty/phonon/mmf/videooutput.cpp b/src/3rdparty/phonon/mmf/videooutput.cpp index b77a831..642de97 100644 --- a/src/3rdparty/phonon/mmf/videooutput.cpp +++ b/src/3rdparty/phonon/mmf/videooutput.cpp @@ -29,6 +29,7 @@ along with this library. If not, see . #include #include +#include // to access QWExtra QT_BEGIN_NAMESPACE @@ -51,6 +52,13 @@ MMF::VideoOutput::VideoOutput(QWidget* parent) 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; + dump(); TRACE_EXIT_0(); -- cgit v0.12