aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/corruptMp4s.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/corruptMp4s.ts b/src/plugins/corruptMp4s.ts
index aefff67..0751d7d 100644
--- a/src/plugins/corruptMp4s.ts
+++ b/src/plugins/corruptMp4s.ts
@@ -69,7 +69,7 @@ export default definePlugin({
content: "Please upload a mp4 file"
});
- const corruption = findOption(args, "kind", "negative");
+ const corruption = findOption<string>(args, "kind", "infinite");
const buf = new Uint8Array(await video.arrayBuffer());
let found = false;