Skip to content

Commit

Permalink
dvdplayer: reset error integral when flushing sync errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Feb 20, 2015
1 parent 435c6c6 commit eaed3ac
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 eaed3ac

Please sign in to comment.