libv4l-rs
libv4l-rs copied to clipboard
control: Add `Type::Unknown`
Fixes #98
Draft change to make conversion from v4l2_query_ext_ctrl
to Description
- and within it u32
to a Type
- fallible rather than panicking on unknown type values.
This approach includes a few breaking changes, to store the unknown type in the struct. Alternatively we could make the entire conversion for v4l2_query_ext_ctrl
fallible via TryFrom
?