mirror of https://bitbucket.org/ausocean/av.git
Realllly robust
This commit is contained in:
parent
99ad40ba2f
commit
38967ec924
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue