Renamed videoio.go to video.go
This commit is contained in:
parent
3e4424ec3b
commit
c03552383a
2 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ func NewCamera(stream int) *Camera {
|
||||||
}
|
}
|
||||||
device = "video=" + devices[stream]
|
device = "video=" + devices[stream]
|
||||||
break
|
break
|
||||||
|
default:
|
||||||
|
panic("Unsupported OS: " + runtime.GOOS)
|
||||||
}
|
}
|
||||||
|
|
||||||
camera := &Camera{name: device, depth: 3}
|
camera := &Camera{name: device, depth: 3}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue