mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Fix erractic timecode detection when extracting LTC from video
Some music using square waves can inadvertently be interpreted as valid LTC frame. However the encoded data is not a valid timecode, which can lead huge A/V offsets, or other issues.
This commit is contained in:
parent
8af793a44d
commit
9697187037
3 changed files with 21 additions and 6 deletions
|
|
@ -28,7 +28,7 @@ function dsp_run (ins, outs, n_samples)
|
|||
local rv
|
||||
repeat
|
||||
local tc
|
||||
rv, tc = ltc_reader:read (0, 0, 0, 0)
|
||||
rv, tc = ltc_reader:read (0, 0, 0, 0, 0)
|
||||
if rv >= 0 then
|
||||
timeout = 0
|
||||
self:shmem():atomic_set_int (0, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue