CorruptMp4s: Better default
This commit is contained in:
parent
6f38c4b7fe
commit
0bc894d065
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue