diff --git a/revid/revid.go b/revid/revid.go index 8fc24dc9..cf8d8001 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -31,7 +31,7 @@ package revid import ( "errors" - _ "fmt" + "fmt" "io" "os" "os/exec" @@ -315,6 +315,7 @@ func (r *Revid) packClips() { packetCount++ clipSize += lenOfFrame if packetCount >= r.config.FramesPerClip { + fmt.Println("flushing buffer") r.ringBuffer.Flush() clipSize = 0 packetCount = 0