From 7f15e2e6d29fe6e0ca19235c5ba6a6c27f30f2c3 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 23 Jan 2018 16:04:48 +1030 Subject: [PATCH] Fixed bug! --- revid/RevidInstance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {