fix typos

This commit is contained in:
richardsonjack 2018-04-23 13:12:37 +09:30
parent 26636b0976
commit 11fc2f50f4
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ func (config *Config) Validate(r *revid) error {
r.Log(Warning, "No bitrate defined, defaulting!")
config.Bitrate = defaultBitrate
} 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!")
}
}

View File

@ -363,7 +363,7 @@ func (r *revid) outputClips() {
}
r.Log(Error, err.Error())
if r.config.Output == NativeRtmp && errorCount > 5 {
reboot()
r.reboot()
}
}
// let the ringbuffer know that we're done with the memory we grabbed when