mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/remux: init libav on page load, basic progress event handling
This commit is contained in:
parent
28600e7e4c
commit
72545ffb5d
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue