web/libav: rename render() to remux()

This commit is contained in:
dumbmoron 2024-08-16 20:54:31 +00:00
parent 0e67bb8c81
commit a78f272848
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ export default class LibAVWrapper {
return [...extensions][0]; return [...extensions][0];
} }
async render({ blob, output, args }: RenderParams) { async remux({ blob, output, args }: RenderParams) {
if (!this.libav) throw new Error("LibAV wasn't initialized"); if (!this.libav) throw new Error("LibAV wasn't initialized");
const libav = await this.libav; const libav = await this.libav;
const inputKind = blob.type.split("/")[0]; const inputKind = blob.type.split("/")[0];

View file

@ -111,7 +111,7 @@
} }
const render = await ff const render = await ff
.render({ .remux({
blob: file, blob: file,
args: ["-c", "copy", "-map", "0"], args: ["-c", "copy", "-map", "0"],
}) })