From 72545ffb5d936d22659687f76d575cef5f68a6a7 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Tue, 13 Aug 2024 14:39:39 +0000 Subject: [PATCH] web/remux: init libav on page load, basic progress event handling --- 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 2c6a701d..9f6de2ce 100644 --- a/web/src/routes/remux/+page.svelte +++ b/web/src/routes/remux/+page.svelte @@ -11,10 +11,11 @@ let processing = false; + const ff = new LibAVWrapper(console.log); + ff.init(); + const render = async () => { if (!file || processing) return; - - const ff = new LibAVWrapper(); await ff.init(); processing = true;