Skip to content

Commit

Permalink
Fix MSMF backend
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHayton committed Jul 31, 2024
1 parent f30c6d3 commit 9f2b23d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/backends/capture/msmf_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ impl MediaFoundationCaptureDevice {
let mut mf_device = MediaFoundationDevice::new(index.clone())?;

let info = CameraInfo::new(
&mf_device.name(),
"MediaFoundation Camera Device",
&mf_device.symlink(),
index.clone(),
&mf_device.name(),
"",
"",
"MediaFoundation Camera",
"",
);

let availible = mf_device.compatible_format_list()?;
Expand Down

0 comments on commit 9f2b23d

Please sign in to comment.