From d1cf1b77f2c9ac3fad8fe73b43ddca3bf936b242 Mon Sep 17 00:00:00 2001 From: arnova Date: Tue, 30 Apr 2013 11:12:12 +0200 Subject: fixed: DVDPlayer GUI display time not updating near the end of file (fixes #14299) --- xbmc/cores/dvdplayer/DVDPlayer.cpp | 9 +++++---- 1 file 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; } -- cgit v1.2.3