summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/ds9/videowidget.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2010-02-04 09:08:43 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2010-02-04 09:08:43 (GMT)
commit47b7af3bfd78c6d4efd3ce93be275a60430679d2 (patch)
treee7d7ff32ae72008b74df37e13caf568b33ac19b5 /src/3rdparty/phonon/ds9/videowidget.cpp
parent8e98033a67263f6a2d9155f228dc28e2faee4f5e (diff)
parent39523f9f78a7c93643924711b1ed8006ebfcf5ce (diff)
downloadQt-47b7af3bfd78c6d4efd3ce93be275a60430679d2.zip
Qt-47b7af3bfd78c6d4efd3ce93be275a60430679d2.tar.gz
Qt-47b7af3bfd78c6d4efd3ce93be275a60430679d2.tar.bz2
Merge remote branch 'staging/4.6' into 4.6
Manual resolve of conflict in changes-4.6.2 in staging-2. Conflicts: dist/changes-4.6.2
Diffstat (limited to 'src/3rdparty/phonon/ds9/videowidget.cpp')
-rw-r--r--src/3rdparty/phonon/ds9/videowidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/ds9/videowidget.cpp b/src/3rdparty/phonon/ds9/videowidget.cpp
index 091be16..95423c6 100644
--- a/src/3rdparty/phonon/ds9/videowidget.cpp
+++ b/src/3rdparty/phonon/ds9/videowidget.cpp
@@ -218,6 +218,9 @@ namespace Phonon
if (toNative && m_noNativeRendererSupported)
return current; //no switch here
+ if (!mediaObject())
+ return current;
+
//firt we delete the renderer
//initialization of the widgets
for(int i = 0; i < FILTER_COUNT; ++i) {