Skip to content

Commit 3cefe71

Browse files
committed
timestamp
1 parent c03f15a commit 3cefe71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/capturer/engine/win/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl GraphicsCaptureApiHandler for Capturer {
7676
frame: &mut WCFrame,
7777
_: InternalCaptureControl,
7878
) -> Result<(), Self::Error> {
79-
let elapsed = frame.timespan().Duration - self.start_time.0;
79+
let elapsed = frame.timestamp().Duration - self.start_time.0;
8080
let display_time = self
8181
.start_time
8282
.1

0 commit comments

Comments
 (0)