no extra duration
This commit is contained in:
parent
601551ee4e
commit
c05937514a
@ -67,14 +67,14 @@ def handle_list_end(duration, node):
|
|||||||
"""
|
"""
|
||||||
messenger.debug('List end')
|
messenger.debug('List end')
|
||||||
|
|
||||||
duration += 1
|
|
||||||
out = node['seek'] + duration if node['seek'] > 0 else duration
|
out = node['seek'] + duration if node['seek'] > 0 else duration
|
||||||
|
|
||||||
# prevent looping
|
# prevent looping
|
||||||
if out > node['duration']:
|
if out > node['duration']:
|
||||||
out = node['duration']
|
out = node['duration']
|
||||||
else:
|
else:
|
||||||
messenger.warning(f'We are over time, new duration is: {duration:.2f}')
|
messenger.warning(
|
||||||
|
f'Clip length is not in time, new duration is: {duration:.2f}')
|
||||||
|
|
||||||
missing_secs = abs(duration - (node['duration'] - node['seek']))
|
missing_secs = abs(duration - (node['duration'] - node['seek']))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user