Skip to content

Commit

Permalink
Actually pausing AVPlayer on stepBackward
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Odom authored and mike-odom committed Oct 5, 2019
1 parent b51fee7 commit a59049c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/AVPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1545,11 1545,8 @@ void AVPlayer::stepForward()

void AVPlayer::stepBackward()
{
d->clock->pause(true);
d->state = PausedState;
Q_EMIT stateChanged(d->state);
Q_EMIT paused(true);
d->read_thread->stepBackward();
pause(true);
d->read_thread->stepBackward();
}

void AVPlayer::seek(qreal r)
Expand Down

0 comments on commit a59049c

Please sign in to comment.