dont set up http output

This commit is contained in:
richardsonjack 2018-03-14 16:37:27 +10:30
parent 70a2058b9a
commit 34c8fcd98c
1 changed files with 6 additions and 4 deletions

View File

@ -228,10 +228,12 @@ func (r *revidInst) Start() {
return return
} }
r.Log(Info, "Starting Revid!") r.Log(Info, "Starting Revid!")
err := r.setupOutput() if r.setupOutput != nil {
if err != nil { err := r.setupOutput()
r.Log(Error, "Output setup didn't work!") if err != nil {
return r.Log(Error, "Output setup didn't work!")
return
}
} }
go r.setupInput() go r.setupInput()
go r.outputClips() go r.outputClips()