1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-07-29 20:22:26 -04:00

ATV Demod: avoid infinite recursion in apply settings because of channel marker setting

This commit is contained in:
f4exb 2017-03-16 01:03:01 +01:00
parent 76a0dc3e2d
commit 1ae2135c3b

View File

@ -310,7 +310,9 @@ void ATVDemodGUI::applySettings()
<< " m_objATVDemod.sampleRate: " << m_objATVDemod->GetSampleRate();
//m_objChannelMarker.setBandwidth(m_objATVDemod->GetSampleRate()); it is unreliable at this moment
m_blnDoApplySettings = false; // avoid infinite recursion
m_objChannelMarker.setBandwidth(m_objChannelizer->getInputSampleRate());
m_blnDoApplySettings = true;
}
}