diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2015-02-20 17:09:07 +0100 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2015-02-20 17:09:07 +0100 |
commit | eaed3acfe5680eaa910a5f85d65bedc9a4536a60 (patch) | |
tree | 4433a9d0aabd944086428e69554aec4829235ce6 | |
parent | 435c6c6f14e47c33f62b93f8736d8834714fa0c7 (diff) |
dvdplayer: reset error integral when flushing sync errors
-rw-r--r-- | xbmc/cores/dvdplayer/DVDPlayerAudio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp b/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp index 70f00328b2..4e77185eca 100644 --- a/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp @@ -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 |