mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-04 06:06:07 +00:00
web/remux: transition into processing state before probe
This commit is contained in:
parent
1493762ce9
commit
8af6761951
|
@ -43,11 +43,12 @@
|
||||||
if (!file || processing) return;
|
if (!file || processing) return;
|
||||||
await ff.init();
|
await ff.init();
|
||||||
|
|
||||||
|
progress = '';
|
||||||
|
processing = true;
|
||||||
|
|
||||||
const file_info = await ff.probe(file);
|
const file_info = await ff.probe(file);
|
||||||
totalDuration = Number(file_info.format.duration);
|
totalDuration = Number(file_info.format.duration);
|
||||||
|
|
||||||
processing = true;
|
|
||||||
|
|
||||||
const render = await ff.render({
|
const render = await ff.render({
|
||||||
blob: file,
|
blob: file,
|
||||||
args: ["-c", "copy"],
|
args: ["-c", "copy"],
|
||||||
|
|
Loading…
Reference in a new issue