From d8b9f2c755160400a0ae32924f83a986fa7ca610 Mon Sep 17 00:00:00 2001 From: enen92 <92enen@gmail.com> Date: Sun, 4 Sep 2022 20:09:52 +0100 Subject: [PATCH] [discs][vp] Reset state back to DVDSTATE_NORMAL on BD playlist stop --- xbmc/cores/VideoPlayer/VideoPlayer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xbmc/cores/VideoPlayer/VideoPlayer.cpp b/xbmc/cores/VideoPlayer/VideoPlayer.cpp index 53b8f1dd4528a..c3b8a724f8abe 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(pData)); break; case BD_EVENT_PLAYLIST_STOP: + m_dvd.state = DVDSTATE_NORMAL; + m_dvd.iDVDStillTime = 0ms; m_messenger.Put(std::make_shared(CDVDMsg::GENERAL_FLUSH)); break; case BD_EVENT_AUDIO_STREAM: