mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
ATV Demod: help vsync to pass dead zone when lines are out of sync
This commit is contained in:
parent
78068af15c
commit
74202b9a17
@ -590,7 +590,7 @@ private:
|
||||
|
||||
// Vertical sync and image rendering
|
||||
|
||||
if (m_objRunning.m_blnVSync) // VSync activated
|
||||
if ((m_objRunning.m_blnVSync) && (m_intLineIndex < m_intNumberOfLines)) // VSync activated and lines in range
|
||||
{
|
||||
if (m_intColIndex >= intSynchroTimeSamples)
|
||||
{
|
||||
@ -623,7 +623,7 @@ private:
|
||||
}
|
||||
}
|
||||
}
|
||||
else // no VSync => arbitrary
|
||||
else // no VSync or lines out of range => arbitrary
|
||||
{
|
||||
if (m_intLineIndex >= m_intNumberOfLines/2)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user