Permalink
Browse files

VideoPlayer: fix setting caching at end of stream

  • Loading branch information...
FernetMenta authored and popcornmix committed Jan 24, 2016
1 parent a9785c8 commit 4315018ef0483d69553ed8c45182a4a516a7caec
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/cores/VideoPlayer/VideoPlayer.cpp
@@ -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())

0 comments on commit 4315018

Please sign in to comment.