mirror of
https://github.com/teacat/chaturbate-dvr.git
synced 2025-10-29 16:59:59 +00:00
prevent segment insert overlap
This commit is contained in:
parent
2cf93a44db
commit
b14dd37477
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
main.go
2
main.go
@ -194,7 +194,7 @@ func combineSegment(master *os.File, filename string) {
|
|||||||
for {
|
for {
|
||||||
<-time.After(300 * time.Millisecond)
|
<-time.After(300 * time.Millisecond)
|
||||||
|
|
||||||
if index == segmentIndex {
|
if index >= segmentIndex {
|
||||||
<-time.After(1 * time.Second)
|
<-time.After(1 * time.Second)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user