mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-04 02:27:26 +00:00
Avoid deadlock on non-match in guid_to_frameformat. Fix for #87.
This commit is contained in:
committed by
GitHub
parent
844f5f9562
commit
c6ddc22d20
@@ -639,7 +639,10 @@ pub mod wmf {
|
||||
|
||||
let frame_fmt = match guid_to_frameformat(fourcc) {
|
||||
Some(fcc) => fcc,
|
||||
None => continue,
|
||||
None => {
|
||||
index += 1;
|
||||
continue;
|
||||
},
|
||||
};
|
||||
|
||||
for frame_rate in framerate_list {
|
||||
|
||||
Reference in New Issue
Block a user