web/remux: transition into processing state before probe

This commit is contained in:
dumbmoron 2024-08-13 15:55:47 +00:00
parent 1493762ce9
commit 8af6761951
No known key found for this signature in database

View file

@ -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"],