aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpopcornmix <popcornmix@gmail.com>2024-02-29 13:46:44 +0000
committerGitHub <noreply@github.com>2024-02-29 13:46:44 +0000
commit87904eebe6c8da8594a73848a4350ebf56bfa0df (patch)
treee302b9a92fa49084713e6dfc8ddc133a39087dfe
parente625f24a0b207741d1d45d6c78c45afe7901a84b (diff)
parent9244f74b3a835e6a85ce37e539fca0ee33e437fc (diff)
Merge pull request #24748 from popcornmix/staletimes
VideoPlayer: Reset stale stream times after a flush
-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 bf3f606798..07415753ea 100644
--- a/xbmc/cores/VideoPlayer/VideoPlayer.cpp
+++ b/xbmc/cores/VideoPlayer/VideoPlayer.cpp
@@ -3951,8 +3951,10 @@ void CVideoPlayer::FlushBuffers(double pts, bool accurate, bool sync)
{
m_CurrentAudio.inited = false;
m_CurrentAudio.avsync = CCurrentStream::AV_SYNC_FORCE;
+ m_CurrentAudio.starttime = DVD_NOPTS_VALUE;
m_CurrentVideo.inited = false;
m_CurrentVideo.avsync = CCurrentStream::AV_SYNC_FORCE;
+ m_CurrentVideo.starttime = DVD_NOPTS_VALUE;
m_CurrentSubtitle.inited = false;
m_CurrentTeletext.inited = false;
m_CurrentRadioRDS.inited = false;