Skip to content

best way to save what you love

web/remux: init libav on page load, basic progress event handling

dumbmoron72545ffb5d93
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;