mirror of https://bitbucket.org/ausocean/av.git
still fixing stuff
This commit is contained in:
parent
85c8ee8c97
commit
f41d02e705
|
@ -301,7 +301,8 @@ func (r *revid) packClips() {
|
|||
for {
|
||||
// Get some memory from the ring buffer for out clip
|
||||
var clip []byte
|
||||
if clip, err := r.ringBuffer.Get(); err != nil {
|
||||
var err error
|
||||
if clip, err = r.ringBuffer.Get(); err != nil {
|
||||
r.Log(Error, err.Error())
|
||||
r.Log(Warning, "Clearing output chan!")
|
||||
r.flushData()
|
||||
|
|
Loading…
Reference in New Issue