AM Demodulator: horizontal leap mode: use a fixed amortizing factor (1/2) to correct horizontal sync

This commit is contained in:
f4exb 2017-04-04 08:42:01 +02:00
parent b2be9f6a0d
commit ee548d2214
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ private:
if (m_objRunning.m_blnHSync && (m_intLineIndex == 0))
{
//qDebug("HCorr: %d", m_intAvgColIndex);
m_intColIndex = m_intNumberSamplePerTop + m_intNumberSamplePerLine - m_intAvgColIndex;
m_intColIndex = m_intNumberSamplePerTop + (m_intNumberSamplePerLine - m_intAvgColIndex)/2; // amortizing factor 1/2
}
else
{