From 8af6761951ee40c53900aacf38eed956861d2507 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Tue, 13 Aug 2024 15:55:47 +0000 Subject: [PATCH] web/remux: transition into processing state before probe --- web/src/routes/remux/+page.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/routes/remux/+page.svelte b/web/src/routes/remux/+page.svelte index 411112fe..926c3aad 100644 --- a/web/src/routes/remux/+page.svelte +++ b/web/src/routes/remux/+page.svelte @@ -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"],