mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Add v16.8.0
This commit is contained in:
@@ -17,10 +17,7 @@ func DevicesV4L() ([]HWDevice, error) {
|
||||
cmd := exec.Command("v4l2-ctl", "--list-devices")
|
||||
cmd.Env = []string{}
|
||||
cmd.Stdout = buf
|
||||
err := cmd.Run()
|
||||
if err != nil {
|
||||
return devices, err
|
||||
}
|
||||
cmd.Run()
|
||||
|
||||
devices = parseV4LDevices(buf)
|
||||
|
||||
|
Reference in New Issue
Block a user