Cherry Pick No-Copy Fixes

This commit is contained in:
l1npengtul
2022-01-22 01:55:35 +09:00
parent 40c1553185
commit f22decb1f1
5 changed files with 342 additions and 375 deletions
+1 -1
View File
@@ -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() })
}