Skip to content

Commit

Permalink
Import WORKERFS types
Browse files Browse the repository at this point in the history
  • Loading branch information
LostBeard committed Sep 12, 2023
1 parent a484183 commit 9ac66da
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/ffmpeg/src/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
LogEventCallback,
ProgressEventCallback,
FileData,
WorkerFSMountData,
} from "./types.js";
import { getMessageID } from "./utils.js";
import { ERROR_TERMINATED, ERROR_NOT_LOADED } from "./errors.js";
Expand Down Expand Up @@ -268,17 +269,6 @@ export class FFmpeg {

public mount = (path: string, data: WorkerFSMountData): Promise<OK> => {
const trans: Transferable[] = [];
// TODO - handle transferables
if (data.blobs){
for(let blob in data.blobs){
trans.push(data.buffer);
}
}
if (data.files){
for(let file in data.files){

}
}
return this.#send(
{
type: FFMessageType.MOUNT,
Expand Down

0 comments on commit 9ac66da

Please sign in to comment.