fix time_distance sync check
This commit is contained in:
parent
56fd753fb8
commit
9ec831a0af
@ -353,7 +353,7 @@ def check_sync(begin):
|
|||||||
else:
|
else:
|
||||||
tolerance = _buffer.tol
|
tolerance = _buffer.tol
|
||||||
|
|
||||||
time_distance = begin - time_now
|
time_distance = begin - time_now - (_buffer.length + tolerance)
|
||||||
if 0 <= time_now < _playlist.start and not begin == _playlist.start:
|
if 0 <= time_now < _playlist.start and not begin == _playlist.start:
|
||||||
time_distance -= 86400.0
|
time_distance -= 86400.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user