diff options
author | Miguel Borges de Freitas <enen92@users.noreply.github.com> | 2022-09-05 18:55:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 18:55:18 +0100 |
commit | 5fcf172720334fb15dc60b16abf1c69bf37ba74e (patch) | |
tree | 69f5880c6fa1306342bd4f285f360e71ebaca0b8 | |
parent | ac98a52a9f22ed1f5515c05471b4d6336b884545 (diff) | |
parent | d8b9f2c755160400a0ae32924f83a986fa7ca610 (diff) |
Merge pull request #21803 from enen92/timeline
[discs][vp] Reset state back to DVDSTATE_NORMAL on BD playlist stop
-rw-r--r-- | xbmc/cores/VideoPlayer/VideoPlayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoPlayer.cpp b/xbmc/cores/VideoPlayer/VideoPlayer.cpp index 53b8f1dd45..c3b8a724f8 100644 --- a/xbmc/cores/VideoPlayer/VideoPlayer.cpp +++ b/xbmc/cores/VideoPlayer/VideoPlayer.cpp @@ -3936,6 +3936,8 @@ int CVideoPlayer::OnDiscNavResult(void* pData, int iMessage) m_overlayContainer.ProcessAndAddOverlayIfValid(static_cast<CDVDOverlay*>(pData)); break; case BD_EVENT_PLAYLIST_STOP: + m_dvd.state = DVDSTATE_NORMAL; + m_dvd.iDVDStillTime = 0ms; m_messenger.Put(std::make_shared<CDVDMsg>(CDVDMsg::GENERAL_FLUSH)); break; case BD_EVENT_AUDIO_STREAM: |