mirror of https://bitbucket.org/ausocean/av.git
fix typos
This commit is contained in:
parent
26636b0976
commit
11fc2f50f4
|
@ -242,7 +242,7 @@ func (config *Config) Validate(r *revid) error {
|
||||||
r.Log(Warning, "No bitrate defined, defaulting!")
|
r.Log(Warning, "No bitrate defined, defaulting!")
|
||||||
config.Bitrate = defaultBitrate
|
config.Bitrate = defaultBitrate
|
||||||
} else {
|
} else {
|
||||||
if integer, err := strconv.Atoi(config.Bitrate); ineger < 0 || err != nil {
|
if integer, err := strconv.Atoi(config.Bitrate); integer < 0 || err != nil {
|
||||||
return errors.New("Bad bitrate defined in config!")
|
return errors.New("Bad bitrate defined in config!")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -363,7 +363,7 @@ func (r *revid) outputClips() {
|
||||||
}
|
}
|
||||||
r.Log(Error, err.Error())
|
r.Log(Error, err.Error())
|
||||||
if r.config.Output == NativeRtmp && errorCount > 5 {
|
if r.config.Output == NativeRtmp && errorCount > 5 {
|
||||||
reboot()
|
r.reboot()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// let the ringbuffer know that we're done with the memory we grabbed when
|
// let the ringbuffer know that we're done with the memory we grabbed when
|
||||||
|
|
Loading…
Reference in New Issue