CorruptMp4s: Better default

This commit is contained in:
Vendicated 2022-11-09 21:17:21 +01:00
parent 6f38c4b7fe
commit 0bc894d065
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3

View file

@ -69,7 +69,7 @@ export default definePlugin({
content: "Please upload a mp4 file" 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()); const buf = new Uint8Array(await video.arrayBuffer());
let found = false; let found = false;