Skip to content

Commit

Permalink
VideoPlayer: fix setting caching at end of stream
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Jan 26, 2016
1 parent a9785c8 commit 4315018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/VideoPlayer/VideoPlayer.cpp
Expand Up @@ -1919,8 +1919,8 @@ void CVideoPlayer::HandlePlaySpeed()
if (m_playSpeed == DVD_PLAYSPEED_NORMAL && !isInMenu)
{
// take action is audio or video stream is stalled
if (((m_VideoPlayerAudio->IsStalled() && m_CurrentAudio.packets) ||
(m_VideoPlayerVideo->IsStalled() && m_CurrentVideo.packets)) &&
if (((m_VideoPlayerAudio->IsStalled() && m_CurrentAudio.inited) ||
(m_VideoPlayerVideo->IsStalled() && m_CurrentVideo.inited)) &&
m_syncTimer.IsTimePast())
{
if (m_pInputStream->IsRealtime())
Expand Down

0 comments on commit 4315018

Please sign in to comment.