Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/capturer/engine/win/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl GraphicsCaptureApiHandler for Capturer {
frame: &mut WCFrame,
_: InternalCaptureControl,
) -> Result<(), Self::Error> {
let elapsed = frame.timespan().Duration - self.start_time.0;
let elapsed = frame.timestamp().Duration - self.start_time.0;
let display_time = self
.start_time
.1
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mod targets;
mod utils;

// Helper Methods
pub use targets::{get_all_targets, get_main_display};
pub use targets::{get_all_targets, get_main_display, get_target_dimensions};
pub use targets::{Display, Target};
pub use utils::has_permission;
pub use utils::is_supported;
Expand Down