Permalink
Browse files

Revert "VideoPlayer: fix detection of stalled audio"

This reverts commit ad76a85.
  • Loading branch information...
popcornmix committed Jan 16, 2016
1 parent 17ce18a commit 986a5aef99cb11bd958ed516f39bcb2fe23a04c5
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/VideoPlayer/VideoPlayer.cpp
@@ -1925,7 +1925,7 @@ void CVideoPlayer::HandlePlaySpeed()
{
if (m_pInputStream->IsRealtime())
{
if ((m_CurrentAudio.id >= 0 && m_CurrentAudio.syncState == IDVDStreamPlayer::SYNC_INSYNC) ||
if ((m_CurrentAudio.id >= 0 && m_CurrentAudio.syncState == IDVDStreamPlayer::SYNC_INSYNC && m_VideoPlayerAudio->GetLevel() == 0) ||
(m_CurrentVideo.id >= 0 && m_CurrentVideo.syncState == IDVDStreamPlayer::SYNC_INSYNC && m_VideoPlayerVideo->GetLevel() == 0))
{
CLog::Log(LOGDEBUG, "Stream stalled, start buffering. Audio: %d - Video: %d",

0 comments on commit 986a5ae

Please sign in to comment.