Skip to content

Commit

Permalink
Merge pull request xbmc#6504 from FernetMenta/syncfix
Browse files Browse the repository at this point in the history
dvdplayer: reset error integral when flushing sync errors
  • Loading branch information
FernetMenta committed Feb 22, 2015
2 parents b69ccc8 + eaed3ac commit 5c9c5d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/dvdplayer/DVDPlayerAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ void CDVDPlayerAudio::HandleSyncError(double duration)
{
m_syncclock = false;
m_errors.Flush();
m_integral = 0.0;
}

//check if measured error for 2 seconds
Expand Down

0 comments on commit 5c9c5d5

Please sign in to comment.