diff --git a/camera.go b/camera.go index ac04cad..1dc4cf5 100644 --- a/camera.go +++ b/camera.go @@ -108,6 +108,8 @@ func NewCamera(stream int) *Camera { } device = "video=" + devices[stream] break + default: + panic("Unsupported OS: " + runtime.GOOS) } camera := &Camera{name: device, depth: 3} diff --git a/videoio.go b/video.go similarity index 100% rename from videoio.go rename to video.go