diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index 3d741260..d8ca0540 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -356,6 +356,7 @@ func (r *revidInst) outputClips() { r.Log(Debug, err.Error()) } } + r.Log(Info, "Not outputting clips anymore!") } // senClipToFile writes the passed clip to a file @@ -494,8 +495,12 @@ func (r *revidInst) setupInputForRaspivid() error { "-fps", r.config.FrameRate, ) } - stdout, _ := r.cmd.StdoutPipe() - err := r.cmd.Start() + stdout, err := r.cmd.StdoutPipe() + if err != nil { + r.Log(Error, err.Error()) + return err + } + err = r.cmd.Start() r.inputReader = bufio.NewReader(stdout) if err != nil { r.Log(Error, err.Error())