diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-04 18:51:59 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-04 18:51:59 +0400 |
commit | a2522403c8136b7142f2b7dd1bce0198b3b8c417 (patch) | |
tree | 41896fdc868fbc45e8477a9f51590925e630f9bd /decoder/LAVAudio | |
parent | 2bc7f1c316c7a2d897a63046ab9a3feffb43ea83 (diff) |
Don't reset clipping protection on seeks
Diffstat (limited to 'decoder/LAVAudio')
-rw-r--r-- | decoder/LAVAudio/LAVAudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/LAVAudio/LAVAudio.cpp b/decoder/LAVAudio/LAVAudio.cpp index f38c7d68..d8758281 100644 --- a/decoder/LAVAudio/LAVAudio.cpp +++ b/decoder/LAVAudio/LAVAudio.cpp @@ -1286,6 +1286,7 @@ HRESULT CLAVAudio::ffmpeg_init(AVCodecID codec, const void *format, const GUID f m_bFallback16Int = FALSE; m_dwOverrideMixer = 0; m_bMixingSettingsChanged = TRUE; + m_fMixingClipThreshold = 0.0f; return S_OK; } @@ -1427,7 +1428,6 @@ HRESULT CLAVAudio::NewSegment(REFERENCE_TIME tStart, REFERENCE_TIME tStop, doubl m_dRate = dRate; else m_dRate = 1.0; - m_fMixingClipThreshold = 0.0f; return __super::NewSegment(tStart, tStop, dRate); } |