Skip to content

Commit

Permalink
squash refactor sync
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Oct 9, 2015
1 parent 25b9a81 commit 0517bd5
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 0517bd5

Please sign in to comment.