This commit is contained in:
Yami Odymel 2024-08-12 01:41:47 +08:00
parent e9ec2b3739
commit 9fb2916117
No known key found for this signature in database
GPG Key ID: 68E469836934DB36
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -31,7 +31,7 @@ const logo = `
func main() {
app := &cli.App{
Name: "chaturbate-dvr",
Version: "1.0.5",
Version: "1.0.6",
Usage: "Records your favorite Chaturbate stream 😎🫵",
Flags: []cli.Flag{
&cli.StringFlag{