revid/revid.go: not during time.Duration conversion

This commit is contained in:
saxon 2019-02-01 10:08:49 +10:30
parent 9bddf343f5
commit c44d6bbfd3
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ func (r *Revid) startRaspivid() error {
r.config.Logger.Log(logger.Fatal, pkg+"cannot start raspivid", "error", err.Error()) r.config.Logger.Log(logger.Fatal, pkg+"cannot start raspivid", "error", err.Error())
} }
go r.processFrom(stdout, time.Duration(0)) go r.processFrom(stdout, 0)
return nil return nil
} }