mirror of https://bitbucket.org/ausocean/av.git
outputting frame sizes that are too big
This commit is contained in:
parent
ff1cb979ac
commit
46cc47c661
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue