mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-17 23:28:50 -05:00
ATV Demod: render image immediately when FPS is 25 or less to avoid partial image flickering
This commit is contained in:
parent
b55d9324d1
commit
7a7d65b999
@ -573,7 +573,7 @@ void ATVDemod::applySettings()
|
|||||||
m_intNumberSamplePerLine = (int) (m_objConfig.m_fltLineDuration * m_objConfig.m_intSampleRate);
|
m_intNumberSamplePerLine = (int) (m_objConfig.m_fltLineDuration * m_objConfig.m_intSampleRate);
|
||||||
m_intNumberSamplePerTop = (int) (m_objConfig.m_fltTopDuration * m_objConfig.m_intSampleRate);
|
m_intNumberSamplePerTop = (int) (m_objConfig.m_fltTopDuration * m_objConfig.m_intSampleRate);
|
||||||
|
|
||||||
m_objRegisteredATVScreen->setRenderImmediate((m_objConfig.m_fltFramePerS < 25.0f));
|
m_objRegisteredATVScreen->setRenderImmediate(!(m_objConfig.m_fltFramePerS > 25.0f));
|
||||||
m_objRegisteredATVScreen->resizeATVScreen(
|
m_objRegisteredATVScreen->resizeATVScreen(
|
||||||
m_intNumberSamplePerLine - m_intNumberSamplePerLineSignals,
|
m_intNumberSamplePerLine - m_intNumberSamplePerLineSignals,
|
||||||
m_intNumberOfLines - m_intNumberOfBlackLines);
|
m_intNumberOfLines - m_intNumberOfBlackLines);
|
||||||
|
Loading…
Reference in New Issue
Block a user