mirror of https://bitbucket.org/ausocean/av.git
revid: checking for webcam input in config.go validate()
This commit is contained in:
parent
07307ed492
commit
fc06ec235e
|
@ -134,6 +134,7 @@ func (c *Config) Validate(r *Revid) error {
|
||||||
switch c.Input {
|
switch c.Input {
|
||||||
case Raspivid:
|
case Raspivid:
|
||||||
case File:
|
case File:
|
||||||
|
case Webcam:
|
||||||
case NothingDefined:
|
case NothingDefined:
|
||||||
c.Logger.Log(logger.Warning, pkg+"no input type defined, defaulting", "input",
|
c.Logger.Log(logger.Warning, pkg+"no input type defined, defaulting", "input",
|
||||||
defaultInput)
|
defaultInput)
|
||||||
|
|
Loading…
Reference in New Issue