mirror of https://bitbucket.org/ausocean/av.git
revid: if start not successfull stop is called to stop output clips routine
This commit is contained in:
parent
cb206ff92b
commit
b5954d3f53
|
@ -355,6 +355,9 @@ func (r *Revid) Start() error {
|
|||
go r.outputClips()
|
||||
r.config.Logger.Log(logger.Info, pkg+"setting up input and receiving content")
|
||||
err := r.setupInput()
|
||||
if err != nil {
|
||||
r.Stop()
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue