FFprobe is re-initialized on every ffprobe run. Emscripten's ENVIRONMENT variable was set to "WORKER". Node.js-related code should no longer be present in ffmpeg-core.js.

This commit is contained in:
izogfif
2024-08-30 07:07:11 +00:00
parent 8d63b3a9c2
commit bd903bbf18
2 changed files with 54 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ CONF_FLAGS=(
-lswscale
-Wno-deprecated-declarations
$LDFLAGS
-sENVIRONMENT=worker
-sWASM_BIGINT # enable big int support
-sUSE_SDL=2 # use emscripten SDL2 lib port
-sMODULARIZE # modularized to use as a library