summaryrefslogtreecommitdiff
path: root/workers.go
diff options
context:
space:
mode:
Diffstat (limited to 'workers.go')
-rw-r--r--workers.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/workers.go b/workers.go
index 91f9eaf..4255e33 100644
--- a/workers.go
+++ b/workers.go
@@ -28,6 +28,7 @@ func cutterQueue(fQueue chan string, workerID int) {
return
}
fpath := <-fQueue
- cutOnEqualParts(fpath, segmentSize)
+ outname := fpathToOutname(fpath)
+ cutOnEqualParts(fpath, outname, segmentSize)
}
}