Realllly robust

This commit is contained in:
Unknown 2018-01-23 17:10:44 +10:30
parent 99ad40ba2f
commit 38967ec924
1 changed files with 1 additions and 2 deletions

View File

@ -253,8 +253,7 @@ func (r *revidInst) input() {
for {
if clip, err := r.ringBuffer.Get(); err != nil {
r.ErrOut(err.Error())
r.Stop()
return
time.Sleep(5*time.Seconds)
} else {
for {
tsPacket := <-(r.generator.GetTsOutputChan())