aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2013-04-30 11:13:17 -0700
committerJoakim Plate <elupus@ecce.se>2013-04-30 11:13:17 -0700
commite8fe5cfa4661830b867f9dc02fb89432464769e2 (patch)
tree19c28f180fe6f027949d618c62768db10d6c92b1
parent37c31a4795f5bb997a0d9a416aa0199d9fdc0e38 (diff)
parentd1cf1b77f2c9ac3fad8fe73b43ddca3bf936b242 (diff)
Merge pull request #2674 from arnova/dvdplayer_displaytime_fixGotham_alpha3
fixed: DVDPlayer GUI display time not updating near the end of file (fix...
-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;
}