aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarnova <arnova@void.org>2013-04-30 11:12:12 +0200
committerarnova <arnova@void.org>2013-04-30 11:12:12 +0200
commitd1cf1b77f2c9ac3fad8fe73b43ddca3bf936b242 (patch)
treeef3ceb4778c5a68f2a524bcbf89c80723df3aaa7
parentbb79b32b87c4324208b8d5e4953cbe7522fb6554 (diff)
fixed: DVDPlayer GUI display time not updating near the end of file (fixes #14299)
-rw-r--r--xbmc/cores/dvdplayer/DVDPlayer.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp
index 95eb8aef56..fdd5185562 100644
--- a/xbmc/cores/dvdplayer/DVDPlayer.cpp
+++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp
@@ -1190,10 +1190,6 @@ void CDVDPlayer::Process()
m_CurrentVideo.inited = false;
m_CurrentSubtitle.inited = false;
m_CurrentTeletext.inited = false;
- m_CurrentAudio.started = false;
- m_CurrentVideo.started = false;
- m_CurrentSubtitle.started = false;
- m_CurrentTeletext.started = false;
// if we are caching, start playing it again
SetCaching(CACHESTATE_DONE);
@@ -1209,6 +1205,11 @@ void CDVDPlayer::Process()
if (!m_pInputStream->IsEOF())
CLog::Log(LOGINFO, "%s - eof reading from demuxer", __FUNCTION__);
+ m_CurrentAudio.started = false;
+ m_CurrentVideo.started = false;
+ m_CurrentSubtitle.started = false;
+ m_CurrentTeletext.started = false;
+
break;
}