diff --git a/revid/Revid.go b/revid/Revid.go index 84f1291f..9d1b6e6e 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -313,7 +313,7 @@ func (r *revid) packClips() { r.Log(Error, err.Error()) r.Log(Warning, "Clearing output chan!") // Keep clearing output chan until out buffer has some space - for clip, err = r.ringBuffer.Get(); err != nil { + for clip, err = r.ringBuffer.Get(); err != nil; { r.flushData() } continue