web/workers/remux: differentiate remux worker file event
This commit is contained in:
@@ -40,7 +40,11 @@ export const runRemuxWorker = async (workerId: string, parentId: string, file: F
|
||||
}
|
||||
});
|
||||
|
||||
worker.postMessage({ file });
|
||||
worker.postMessage({
|
||||
cobaltRemuxWorker: {
|
||||
file
|
||||
}
|
||||
});
|
||||
|
||||
worker.onerror = (e) => {
|
||||
console.error("remux worker exploded:", e);
|
||||
|
||||
Reference in New Issue
Block a user