fixing busy loop

This commit is contained in:
Saxon1 2018-05-06 17:57:36 +09:30
parent be1c16a278
commit f44bb11576
1 changed files with 1 additions and 0 deletions

View File

@ -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)
} }
} }
} }