mirror of https://bitbucket.org/ausocean/av.git
outage fix
This commit is contained in:
parent
b430224020
commit
abfa93aab3
|
@ -294,10 +294,8 @@ func (r *revid) getFramePacketization() []byte {
|
||||||
|
|
||||||
// flushDataPacketization removes data from the revid inst's coutput chan
|
// flushDataPacketization removes data from the revid inst's coutput chan
|
||||||
func (r *revid) flushData() {
|
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
|
// packClips takes data segments; whether that be tsPackets or mjpeg frames and
|
||||||
// packs them into clips consisting of the amount frames specified in the config
|
// packs them into clips consisting of the amount frames specified in the config
|
||||||
|
|
Loading…
Reference in New Issue