mirror of https://bitbucket.org/ausocean/av.git
fixing busy loop
This commit is contained in:
parent
be1c16a278
commit
f44bb11576
|
@ -252,6 +252,7 @@ func (g *flvGenerator) generate() {
|
||||||
g.outputChan <- tag.ToByteSlice()
|
g.outputChan <- tag.ToByteSlice()
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
time.Sleep(time.Duration(1)*time.Millisecond)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue