web/libav: rename render() to remux()
This commit is contained in:
parent
0e67bb8c81
commit
a78f272848
2 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||||
|
|
|
@ -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"],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue