Skip to content

Commit e4baebe

Browse files
committed
Add Worker.write() issue to document
1 parent f3b38bc commit e4baebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Worker.load() loads ffmpeg-core.js script (download from remote if not presented
6262

6363
Worker.write() writes data to specific path in Emscripten file system, it is an essential step before doing any other tasks.
6464

65+
> Currently we found an issue that you should not have parallel Worker.write() as it may cause unexpected behavior, please do it in sequential for-loop like [HERE](https://github.com/ffmpegjs/ffmpeg.js/blob/master/examples/browser/image2video.html#L36)
66+
6567
**Arguments:**
6668

6769
- `path` path to write data to file system

0 commit comments

Comments
 (0)