aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Borges de Freitas <enen92@users.noreply.github.com>2022-09-05 18:55:18 +0100
committerGitHub <noreply@github.com>2022-09-05 18:55:18 +0100
commit5fcf172720334fb15dc60b16abf1c69bf37ba74e (patch)
tree69f5880c6fa1306342bd4f285f360e71ebaca0b8
parentac98a52a9f22ed1f5515c05471b4d6336b884545 (diff)
parentd8b9f2c755160400a0ae32924f83a986fa7ca610 (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.cpp2
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: