summaryrefslogtreecommitdiffstats
path: root/src/multimedia/playback
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/playback')
-rw-r--r--src/multimedia/playback/qmediaplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/playback/qmediaplayer.cpp b/src/multimedia/playback/qmediaplayer.cpp
index 0853597..d3dfbb2 100644
--- a/src/multimedia/playback/qmediaplayer.cpp
+++ b/src/multimedia/playback/qmediaplayer.cpp
@@ -308,6 +308,8 @@ QMediaPlayer::~QMediaPlayer()
Q_D(QMediaPlayer);
d->provider->releaseService(d->service);
+ d->videoWidget = 0;
+ d->videoItem = 0;
}
QMediaContent QMediaPlayer::media() const