From f40d77ea48e186d53a7273c7b602fe4c47137f39 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 14 Mar 2018 20:37:07 +1030 Subject: [PATCH] pls --- revid/RevidInstance.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index d8ca0540..c2d8177f 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -495,12 +495,8 @@ func (r *revidInst) setupInputForRaspivid() error { "-fps", r.config.FrameRate, ) } - stdout, err := r.cmd.StdoutPipe() - if err != nil { - r.Log(Error, err.Error()) - return err - } - err = r.cmd.Start() + stdout, _ := r.cmd.StdoutPipe() + err := r.cmd.Start() r.inputReader = bufio.NewReader(stdout) if err != nil { r.Log(Error, err.Error())