vladimirvivien / go4vl

A Go library for working with the Video for Linux API (V4L2).
MIT License
245 stars 45 forks source link

default fps when capture #15

Closed c1ngular closed 2 years ago

c1ngular commented 2 years ago

nice job . i see the default/base fps is set to 10 from here : https://github.com/vladimirvivien/go4vl/blob/40b41ba86c5c8d169bae1bcce5ec16605db44e6f/v4l2/device/device.go#L231, is there any way to detect and set a default fps value(rather than 10) supported by opened device ?
thanks

vladimirvivien commented 2 years ago

Thank you @c1ngular great idea.

vladimirvivien commented 2 years ago

Default fps was implemented in last release. I think this issue can be closed.