Skip to content

Commit 2a470d2

Browse files
authored
Merge pull request #1339 from lvzhaobing/master
Fixed a QmlMediaPlayer problem
2 parents 3e6f280 + 45ac4c6 commit 2a470d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AVPlayer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,6 +1520,7 @@ void AVPlayer::timerEvent(QTimerEvent *te)
15201520
if (te->timerId() == d->timer_id) {
15211521
// killTimer() should be in the same thread as object. kill here?
15221522
if (isPaused()) {
1523+
d->clock->pause(true);
15231524
//return; //ensure positionChanged emitted for stepForward()
15241525
}
15251526
// active only when playing

0 commit comments

Comments
 (0)