From 34c8fcd98ce23fd3004bd0c03bf933dc29be504c Mon Sep 17 00:00:00 2001 From: richardsonjack Date: Wed, 14 Mar 2018 16:37:27 +1030 Subject: [PATCH] dont set up http output --- revid/RevidInstance.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/revid/RevidInstance.go b/revid/RevidInstance.go index 54038729..54d1d46e 100644 --- a/revid/RevidInstance.go +++ b/revid/RevidInstance.go @@ -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()