Skip to content

Commit

Permalink
squash refactor sync
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Nov 30, 2015
1 parent e52339a commit 932fe6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/cores/VideoPlayer/VideoPlayer.cpp
Expand Up @@ -1765,8 +1765,8 @@ void CVideoPlayer::HandlePlaySpeed()
{
// if all enabled streams have been inited we are done
if ((m_CurrentVideo.id >= 0 || m_CurrentAudio.id >= 0) &&
(m_CurrentVideo.id < 0 || m_CurrentVideo.syncState == IDVDStreamPlayer::SYNC_WAITSYNC) &&
(m_CurrentAudio.id < 0 || m_CurrentAudio.syncState == IDVDStreamPlayer::SYNC_WAITSYNC))
(m_CurrentVideo.id < 0 || m_CurrentVideo.syncState != IDVDStreamPlayer::SYNC_STARTING) &&
(m_CurrentAudio.id < 0 || m_CurrentAudio.syncState != IDVDStreamPlayer::SYNC_STARTING))
caching = CACHESTATE_PLAY;

// handle situation that we get no data on one stream
Expand Down

0 comments on commit 932fe6d

Please sign in to comment.