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 { for {
if clip, err := r.ringBuffer.Get(); err != nil { if clip, err := r.ringBuffer.Get(); err != nil {
r.ErrOut(err.Error()) r.ErrOut(err.Error())
r.Stop() time.Sleep(5*time.Seconds)
return
} else { } else {
for { for {
tsPacket := <-(r.generator.GetTsOutputChan()) tsPacket := <-(r.generator.GetTsOutputChan())