Gnurou / v4l2r

Rust bindings for V4L2
MIT License
21 stars 10 forks source link

ioctl/qbuf: add set_timestamp method #22

Closed aesteve-rh closed 11 months ago

aesteve-rh commented 11 months ago

Add a set_timestamp method for QBuffer struct receiving the second and microsecond values. This setter allows crate users to initialize a QBuffer instance while being unaware of the underlying type for the timestamp member.