mirror of https://github.com/procxx/kepka.git
Fix crash in video player seek.
This commit is contained in:
parent
be495c17bc
commit
c655bf852f
|
@ -603,6 +603,7 @@ void Player::stop() {
|
||||||
invalidate_weak_ptrs(&_sessionGuard);
|
invalidate_weak_ptrs(&_sessionGuard);
|
||||||
_pausedByUser = _pausedByWaitingForData = _paused = false;
|
_pausedByUser = _pausedByWaitingForData = _paused = false;
|
||||||
_renderFrameTimer.cancel();
|
_renderFrameTimer.cancel();
|
||||||
|
_nextFrameTime = kTimeUnknown;
|
||||||
_audioFinished = false;
|
_audioFinished = false;
|
||||||
_videoFinished = false;
|
_videoFinished = false;
|
||||||
_pauseReading = false;
|
_pauseReading = false;
|
||||||
|
|
Loading…
Reference in New Issue