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 4347507 + cb05d1f commit f38e6d9Copy full SHA for f38e6d9
nannou_webcam/src/native.rs
@@ -84,7 +84,8 @@ fn nokhwa_initialize_blocking() {
84
}
85
86
fn query_device_formats(index: &CameraIndex) -> Vec<WebcamSupportedFormat> {
87
- let requested = RequestedFormat::new::<RgbFormat>(RequestedFormatType::None);
+ let requested =
88
+ RequestedFormat::new::<RgbFormat>(RequestedFormatType::AbsoluteHighestFrameRate);
89
let mut camera = match Camera::new(index.clone(), requested) {
90
Ok(c) => c,
91
Err(err) => {
0 commit comments