We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e661f63 commit a73a650Copy full SHA for a73a650
src/worker-script/index.js
@@ -72,6 +72,10 @@ const parseArgs = (command) => {
72
args.push(arg)
73
}
74
75
+ if (prevDelimiter != command.length) {
76
+ args.push(command.substring(prevDelimiter))
77
+ }
78
+
79
return args;
80
81
@@ -83,7 +87,7 @@ const run = ({
83
87
if (Module === null) {
84
88
throw NO_LOAD_ERROR;
85
89
} else {
86
- const args = [...defaultArgs, ...parseArgs(_args))].filter((s) => s.length !== 0);
90
+ const args = [...defaultArgs, ...parseArgs(_args)].filter((s) => s.length !== 0);
91
ffmpeg(args.length, strList2ptr(Module, args));
92
res.resolve({
93
message: `Complete ${args.join(' ')}`,
0 commit comments