outputting frame sizes that are too big

This commit is contained in:
Saxon Milton 2018-04-25 14:21:47 +09:30
parent ff1cb979ac
commit 46cc47c661
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ func (r *revid) packClips() {
frame := r.getFrame() frame := r.getFrame()
lenOfFrame := len(frame) lenOfFrame := len(frame)
if lenOfFrame > ringBufferElementSize { 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() frame = r.getFrame()
lenOfFrame = len(frame) lenOfFrame = len(frame)
} }