mirror of
https://github.com/teacat/chaturbate-dvr.git
synced 2025-10-29 16:59:59 +00:00
Fixed #66
This commit is contained in:
parent
e9ec2b3739
commit
9fb2916117
@ -215,7 +215,9 @@ func (w *Channel) mergeSegments() {
|
||||
<-time.After(1 * time.Second)
|
||||
continue
|
||||
}
|
||||
w.bufferLock.Lock()
|
||||
buf, ok := w.buffer[w.bufferIndex]
|
||||
w.bufferLock.Unlock()
|
||||
if !ok {
|
||||
segmentRetries++
|
||||
<-time.After(time.Duration(segmentRetries) * time.Second)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user