mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +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;
|
||||
await ff.init();
|
||||
|
||||
progress = '';
|
||||
processing = true;
|
||||
|
||||
const file_info = await ff.probe(file);
|
||||
totalDuration = Number(file_info.format.duration);
|
||||
|
||||
processing = true;
|
||||
|
||||
const render = await ff.render({
|
||||
blob: file,
|
||||
args: ["-c", "copy"],
|
||||
|
|
Loading…
Reference in a new issue