From 463e983b219824489745e8e657c5e877f49c81bf Mon Sep 17 00:00:00 2001 From: Saxon1 Date: Sun, 6 May 2018 19:33:51 +0930 Subject: [PATCH] Changing bitrate/ringbuffer size to debug --- revid/Revid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/Revid.go b/revid/Revid.go index f44f0fe4..3b41b4f0 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -431,8 +431,8 @@ func (r *revid) outputClips() { deltaTime := now.Sub(prevTime) if deltaTime > time.Duration(bitrateTime)*time.Second { r.currentBitrate = int64(float64(bytes*8) / float64(deltaTime/1e9)) - r.Log(Info, fmt.Sprintf("Bitrate: %v bits/s\n", r.currentBitrate)) - r.Log(Info, fmt.Sprintf("Ring buffer size: %v\n", r.ringBuffer.GetNoOfElements())) + r.Log(Debug, fmt.Sprintf("Bitrate: %v bits/s\n", r.currentBitrate)) + r.Log(Debug, fmt.Sprintf("Ring buffer size: %v\n", r.ringBuffer.GetNoOfElements())) prevTime = now bytes = 0 }