1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 12:51:49 -05:00

ATV Demod: help vsync to pass dead zone when lines are out of sync

This commit is contained in:
f4exb 2017-04-06 03:14:03 +02:00
parent 78068af15c
commit 74202b9a17

View File

@ -590,7 +590,7 @@ private:
// Vertical sync and image rendering // 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) 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) if (m_intLineIndex >= m_intNumberOfLines/2)
{ {