Skip to content

Commit 6ff25de

Browse files
committed
preview: Don't double count speed
1 parent b660736 commit 6ff25de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto_editor/preview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def preview(tl: v3, log: Log) -> None:
6868
time_frame(fp, "output", out_len, tb, f"{round((out_len / in_len) * 100, 2)}%")
6969
time_frame(fp, "diff", diff, tb, f"{round((diff / in_len) * 100, 2)}%")
7070

71-
clip_lens = [clip.dur / clip.speed for clip in tl.a[0]]
71+
clip_lens = [clip.dur for clip in tl.a[0]]
7272
log.debug(clip_lens)
7373

7474
fp.write(f"clips:\n - amount: {len(clip_lens)}\n")

0 commit comments

Comments
 (0)