Improve handling of the DefaultFormatError
This commit is contained in:
parent
fbb97f51ef
commit
f0e4e312c1
4 changed files with 41 additions and 18 deletions
|
|
@ -313,8 +313,7 @@ impl Device {
|
|||
return Err(DefaultFormatError::StreamTypeNotSupported);
|
||||
}
|
||||
Err(SupportedFormatsError::BackendSpecific { err }) => {
|
||||
unimplemented!();
|
||||
//return Err(err.into());
|
||||
return Err(err.into());
|
||||
}
|
||||
Ok(fmts) => fmts.collect(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue