Skip to content

Commit

Permalink
[discs][vp] Reset state back to DVDSTATE_NORMAL on BD playlist stop
Browse files Browse the repository at this point in the history
  • Loading branch information
enen92 committed Sep 4, 2022
1 parent 33b7746 commit d8b9f2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/cores/VideoPlayer/VideoPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d8b9f2c

Please sign in to comment.