Merge branch 'RevidCLI' of https://bitbucket.org/ausocean/av/src into RevidCLI

This commit is contained in:
Saxon1 2018-04-24 15:08:40 +09:30
commit f73345db9a
1 changed files with 1 additions and 1 deletions

View File

@ -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