mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 05:07:41 +02:00
web/remux: init libav on page load, basic progress event handling
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user