web/remux: init libav on page load, basic progress event handling
This commit is contained in:
parent
28600e7e4c
commit
72545ffb5d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user