diff --git a/revid/Revid.go b/revid/Revid.go index 4a8f0b57..d7b04fd8 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -294,9 +294,7 @@ func (r *revid) getFramePacketization() []byte { // flushDataPacketization removes data from the revid inst's coutput chan func (r *revid) flushData() { - for len(r.outputChan) > 0 { - <-(r.outputChan) - } + <-(r.outputChan) } // packClips takes data segments; whether that be tsPackets or mjpeg frames and