revid: added yet another message

This commit is contained in:
saxon 2018-09-24 20:27:43 +09:30
parent 9b7b88be98
commit e6d0ee035e
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ func (r *Revid) packClips() {
// TODO: This is temporary, need to work out how to make this work // TODO: This is temporary, need to work out how to make this work
// for cases when there is not packetisation. // for cases when there is not packetisation.
case frame := <-r.encoder.Stream(): case frame := <-r.encoder.Stream():
fmt.Println("got frame")
lenOfFrame := len(frame) lenOfFrame := len(frame)
if lenOfFrame > ringBufferElementSize { if lenOfFrame > ringBufferElementSize {
r.config.Logger.Log(smartlogger.Warning, pkg+"frame was too big", "frame size", lenOfFrame) r.config.Logger.Log(smartlogger.Warning, pkg+"frame was too big", "frame size", lenOfFrame)