Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project are documented in this file. The format
follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## Unreleased

### Changed

- The single-thread (Asyncify) core is smaller, from leaving more codec libraries out of Asyncify instrumentation.

## 0.19.0

### Changed
Expand Down
8 changes: 5 additions & 3 deletions build/ffmpeg-wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ else
# uses and nothing here calls. Each fiber carries its own asyncify stack
# for fiber swaps; see PFIBER_ASYNCIFY_STACK_SIZE in pthread_fiber.c.
-sASYNCIFY_STACK_SIZE=65536
# x264 has no threads here and only calls back to av_log, so no fiber
# switch happens inside it; instrumenting it only slows it down.
"-sASYNCIFY_REMOVE=['x264_*']"
# These libraries have no threads here and only call back to av_log, so no
# fiber switch happens inside them; instrumenting them only costs size and
# speed. libdav1d, libwebp and the vp8_/vp9_ prefixes (FFmpeg's own decoders
# too) are not listed: -threads N makes them start or wait on threads.
"-sASYNCIFY_REMOVE=['x264_*','vpx_*','lame_*','opus_*','celt_*','silk_*','vorbis_*','ogg_*','th_*','zimg*','FT_*','hb_*','ass_*','fribidi_*']"
Comment thread
Project516 marked this conversation as resolved.
Resolved
)
fi

Expand Down