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 {
|
||||
case Raspivid:
|
||||
case File:
|
||||
case Webcam:
|
||||
case NothingDefined:
|
||||
c.Logger.Log(logger.Warning, pkg+"no input type defined, defaulting", "input",
|
||||
defaultInput)
|
||||
|
|
Loading…
Reference in New Issue