diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index 38a397a8..94446034 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -207,7 +207,7 @@ func (r *revidInst) Start() { h264Data = make([]byte, 1) _, err := io.ReadFull(inputReader, h264Data) if err != nil { - if err.Error() == "EOF" { + if err.Error() == "EOF" && r.isRunning { r.ErrOut("No data from camera!") time.Sleep(5*time.Second) } else {