From 46cc47c661e0013bfc0b9163479d0fa28a782830 Mon Sep 17 00:00:00 2001 From: Saxon Milton Date: Wed, 25 Apr 2018 14:21:47 +0930 Subject: [PATCH] outputting frame sizes that are too big --- revid/Revid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revid/Revid.go b/revid/Revid.go index c7235aa4..e71a3a20 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -319,7 +319,7 @@ func (r *revid) packClips() { frame := r.getFrame() lenOfFrame := len(frame) if lenOfFrame > ringBufferElementSize { - r.Log(Warning,"Frame was too big, getting another one!") + r.Log(Warning,fmt.Sprintf("Frame was too big: %v bytes, getting another one!", lenOfFrame)) frame = r.getFrame() lenOfFrame = len(frame) }