We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5430331 + 1f7ee3d commit a5a5d41Copy full SHA for a5a5d41
README.md
@@ -73,7 +73,7 @@ fn main() {
73
excluded_targets: None,
74
output_type: scap::frame::FrameType::BGRAFrame,
75
output_resolution: scap::capturer::Resolution::_720p,
76
- source_rect: Some(Area {
+ crop_area: Some(Area {
77
origin: Point { x: 0.0, y: 0.0 },
78
size: Size {
79
width: 2000.0,
@@ -84,7 +84,7 @@ fn main() {
84
};
85
86
// Create Capturer
87
- let mut capturer = Capturer::new(options);
+ let mut capturer = Capturer::build(options).unwrap();
88
89
// Start Capture
90
capturer.start_capture();
0 commit comments