Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dvdplayer: update state after flush buffers

  • Loading branch information...
commit 114a9f3aaca7f80aa18205a7b9b0026adb252d51 1 parent f803091
@FernetMenta FernetMenta authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 xbmc/cores/dvdplayer/DVDPlayer.cpp
View
5 xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -3237,6 +3237,11 @@ void CDVDPlayer::FlushBuffers(bool queued, double pts, bool accurate)
if(pts != DVD_NOPTS_VALUE)
m_clock.Discontinuity(pts);
UpdatePlayState(0);
+
+ // update state, buffers are flushed and it may take some time until
+ // we get an update from players
+ CSingleLock lock(m_StateSection);
+ m_State = m_StateInput;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.