Skip to content

Commit d7cd624

Browse files
committed
Update project_recordings.rs
1 parent d8aec67 commit d7cd624

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/rendering/src/project_recordings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ impl Video {
8080

8181
if last_ts >= 0 {
8282
let tb = stream.time_base();
83-
duration = (last_ts as f64 * tb.numerator() as f64)
84-
/ tb.denominator() as f64;
83+
duration = (last_ts as f64 * tb.numerator() as f64) / tb.denominator() as f64;
8584
}
8685
}
8786

0 commit comments

Comments
 (0)