summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-09-21 12:24:05 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-09-23 12:39:53 (GMT)
commit986cb04de0e0989a40ea164f823f9a987fd98fd8 (patch)
tree6eeb4a4ae74378ab43a1b7212e7b4545e2bd451e /src/3rdparty/phonon
parent8f445e139a5ff9ed178dc123cb3dfc4200224c43 (diff)
downloadQt-986cb04de0e0989a40ea164f823f9a987fd98fd8.zip
Qt-986cb04de0e0989a40ea164f823f9a987fd98fd8.tar.gz
Qt-986cb04de0e0989a40ea164f823f9a987fd98fd8.tar.bz2
Modified video widget to set disableBlit flag
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r--src/3rdparty/phonon/mmf/videooutput.cpp8
1 files changed, 8 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
#include <QMoveEvent>
#include <QResizeEvent>
+#include <QtGui/private/qwidget_p.h> // 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();