Fixed a bug where seeking while paused would not update the internal

playback state to "Playing", even though playback has resumed.
This commit is contained in:
casey langen 2017-06-29 23:13:51 -07:00
parent 0b091a160a
commit 74e49b8356
2 changed files with 8 additions and 0 deletions

View File

@ -171,6 +171,10 @@ void CrossfadeTransport::SetPosition(double seconds) {
}
}
if (this->state == PlaybackPaused) {
SetPlaybackState(PlaybackPlaying);
}
if (this->active.player) {
this->TimeChanged(seconds);
}

View File

@ -237,6 +237,10 @@ void GaplessTransport::SetPosition(double seconds) {
}
}
if (this->state == PlaybackPaused) {
SetPlaybackState(PlaybackPlaying);
}
if (this->activePlayer) {
this->TimeChanged(seconds);
}