diff options
-rw-r--r-- | src/3rdparty/phonon/mmf/videooutput.cpp | 8 |
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(); |