add debug message for fixing duration
This commit is contained in:
parent
c4ad50a714
commit
92b40d523d
@ -931,6 +931,9 @@ def src_or_dummy(node):
|
|||||||
elif node.get('source') and Path(node['source']).is_file():
|
elif node.get('source') and Path(node['source']).is_file():
|
||||||
if probe.format.get('duration') and not math.isclose(
|
if probe.format.get('duration') and not math.isclose(
|
||||||
probe.format['duration'], node['duration'], abs_tol=3):
|
probe.format['duration'], node['duration'], abs_tol=3):
|
||||||
|
messenger.debug(
|
||||||
|
f"fix duration for: \"{node['source']}\" "
|
||||||
|
f"at \"{sec_to_time(node['begin'])}\"")
|
||||||
node['duration'] = probe.format['duration']
|
node['duration'] = probe.format['duration']
|
||||||
|
|
||||||
if node['out'] > node['duration']:
|
if node['out'] > node['duration']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user