higher tolerance in copy mode

This commit is contained in:
jb-alvarado 2019-03-08 09:53:31 +01:00
parent 6bb85a2dab
commit dc46591109

View File

@ -383,6 +383,11 @@ def src_or_dummy(src, duration, seek, out, dummy_len=None):
def check_sync(begin):
time_now = get_time('full_sec')
start = float(_playlist.start * 3600)
# in copy mode buffer length can not be calculatet correctly...
if _pre_comp.copy:
tolerance = 60
else:
tolerance = _buffer.tol * 4
t_dist = begin - time_now