summaryrefslogtreecommitdiffstats
path: root/src/gsttools/qgstreamerplayercontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsttools/qgstreamerplayercontrol.cpp')
-rw-r--r--src/gsttools/qgstreamerplayercontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsttools/qgstreamerplayercontrol.cpp b/src/gsttools/qgstreamerplayercontrol.cpp
index d65102e2f..689467db8 100644
--- a/src/gsttools/qgstreamerplayercontrol.cpp
+++ b/src/gsttools/qgstreamerplayercontrol.cpp
@@ -440,7 +440,7 @@ void QGstreamerPlayerControl::updateSessionState(QMediaPlayer::State state)
m_pendingSeekPosition = -1;
if (m_currentState == QMediaPlayer::PlayingState) {
- if (m_mediaStatus == QMediaPlayer::BufferedMedia)
+ if (m_bufferProgress == -1 || m_bufferProgress == 100)
m_session->play();
}
}