mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-04 02:27:26 +00:00
Cherry Pick No-Copy Fixes
This commit is contained in:
@@ -1834,7 +1834,7 @@ pub mod wmf {
|
||||
}
|
||||
|
||||
impl<'a> MediaFoundationDevice<'a> {
|
||||
pub fn new(_: usize) -> Result<Self, BindingError> {
|
||||
pub fn new(_: usize, _: MFCameraFormat) -> Result<Self, BindingError> {
|
||||
Ok(MediaFoundationDevice { phantom: &Empty() })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user