mirror of https://bitbucket.org/ausocean/av.git
revid: iterating through destinations and using destination.release() instead of directly talking to ringbuffer chunks
This commit is contained in:
parent
14f4bb0e63
commit
2c2be84499
|
@ -405,7 +405,9 @@ loop:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Release the chunk back to the ring buffer for use
|
// Release the chunk back to the ring buffer for use
|
||||||
chunk.Close()
|
for _, dest := range r.destination {
|
||||||
|
dest.release()
|
||||||
|
}
|
||||||
r.config.Logger.Log(smartlogger.Debug, pkg+"done reading that clip from ring buffer")
|
r.config.Logger.Log(smartlogger.Debug, pkg+"done reading that clip from ring buffer")
|
||||||
|
|
||||||
// Log some information regarding bitrate and ring buffer size if it's time
|
// Log some information regarding bitrate and ring buffer size if it's time
|
||||||
|
|
Loading…
Reference in New Issue