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
}
r.Log(Info, "Starting Revid!")
err := r.setupOutput()
if err != nil {
r.Log(Error, "Output setup didn't work!")
return
if r.setupOutput != nil {
err := r.setupOutput()
if err != nil {
r.Log(Error, "Output setup didn't work!")
return
}
}
go r.setupInput()
go r.outputClips()