Skip to content

Commit 48a88a1

Browse files
authored
Merge pull request #464 from Gamnn/patch-1
crack at #462
2 parents 5286058 + 5f2eb48 commit 48a88a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lddecode/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def calclinelen(SP, mult, mhz):
7575
'audio_rfreq': (1000000*315/88/227.5) * 178.75,
7676

7777
'colorBurstUS': (5.3, 7.8),
78-
'activeVideoUS': (9.45, 63.555-1.5),
78+
'activeVideoUS': (9.45, 63.555-1.0),
7979

8080
# In NTSC framing, the distances between the first/last eq pulses and the
8181
# corresponding next lines are different.
@@ -90,7 +90,7 @@ def calclinelen(SP, mult, mhz):
9090
# In color NTSC, the line period was changed from 63.5 to 227.5 color cycles,
9191
# which works out to 63.555(with a bar on top) usec
9292
SysParams_NTSC['line_period'] = 1/(SysParams_NTSC['fsc_mhz']/227.5)
93-
SysParams_NTSC['activeVideoUS'] = (9.45, SysParams_NTSC['line_period'] - 1.5)
93+
SysParams_NTSC['activeVideoUS'] = (9.45, SysParams_NTSC['line_period'] - 1.0)
9494

9595
SysParams_NTSC['FPS'] = 1000000/ (525 * SysParams_NTSC['line_period'])
9696

0 commit comments

Comments
 (0)