From abfa93aab3da2686399536280a0ee0a003136060 Mon Sep 17 00:00:00 2001 From: Saxon Milton Date: Wed, 25 Apr 2018 13:56:46 +0930 Subject: [PATCH] outage fix --- revid/Revid.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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