Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b11e5c14
Unverified
Commit
b11e5c14
authored
May 17, 2021
by
Sociosarbis
Committed by
GitHub
May 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(exit): #136 expose exit api (#6)
parent
0c64271c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
build-ffmpeg.sh
wasm/build-scripts/build-ffmpeg.sh
+1
-0
post-js.js
wasm/post-js.js
+1
-0
No files found.
wasm/build-scripts/build-ffmpeg.sh
View file @
b11e5c14
...
...
@@ -22,6 +22,7 @@ FLAGS=(
-s
EXPORTED_FUNCTIONS
=
"[_main, _proxy_main]"
# export main and proxy_main funcs
-s
EXTRA_EXPORTED_RUNTIME_METHODS
=
"[FS, cwrap, ccall, setValue, writeAsciiToMemory]"
# export preamble funcs
-s
INITIAL_MEMORY
=
2146435072
# 64 KB * 1024 * 16 * 2047 = 2146435072 bytes ~= 2 GB
--post-js
wasm/post-js.js
$OPTIM_FLAGS
)
echo
"FFMPEG_EM_FLAGS=
${
FLAGS
[@]
}
"
...
...
wasm/post-js.js
0 → 100644
View file @
b11e5c14
Module
[
"exit"
]
=
exit
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment