Skip to content

Commit f2e7a1c

Browse files
committed
Update arguments in Worker.trim(), fix #12
1 parent ea99cf3 commit f2e7a1c

File tree

2 files changed

+31
-12
lines changed

2 files changed

+31
-12
lines changed

package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/createWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ module.exports = (_options = {}) => {
116116

117117
const trim = (inputPath, outputPath, from, to, opts = '', del = true, jobId) => (
118118
run(
119-
`${opts} -ss ${from} -i /data/${inputPath} -t ${to} -c copy ${outputPath}`,
119+
`${opts} -i /data/${inputPath} -ss ${from} -to ${to} -c copy ${outputPath}`,
120120
{ inputPath, outputPath, del },
121121
jobId,
122122
)

0 commit comments

Comments
 (0)