Skip to content

Commit

Permalink
Merge pull request #2674 from arnova/dvdplayer_displaytime_fix
Browse files Browse the repository at this point in the history
fixed: DVDPlayer GUI display time not updating near the end of file (fix...
  • Loading branch information
elupus committed Apr 30, 2013
2 parents 37c31a4 + d1cf1b7 commit e8fe5cf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
}

Expand Down

0 comments on commit e8fe5cf

Please sign in to comment.