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
e3b38421
Commit
e3b38421
authored
Nov 03, 2020
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert prepend
parent
f2ce6fe1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
build-ffmpeg.sh
wasm/build-scripts/build-ffmpeg.sh
+0
-1
prepend.js
wasm/src/prepend.js
+0
-8
No files found.
wasm/build-scripts/build-ffmpeg.sh
View file @
e3b38421
...
...
@@ -12,7 +12,6 @@ FLAGS=(
-lavdevice
-lavfilter
-lavformat
-lavcodec
-lswresample
-lswscale
-lavutil
-lpostproc
-lm
-lx264
-lx265
-lvpx
-lwavpack
-lmp3lame
-lfdk-aac
-lvorbis
-lvorbisenc
-lvorbisfile
-logg
-ltheora
-ltheoraenc
-ltheoradec
-lz
-pthread
fftools/ffmpeg_opt.c fftools/ffmpeg_filter.c fftools/ffmpeg_hw.c fftools/cmdutils.c fftools/ffmpeg.c
-o
wasm/dist/ffmpeg-core.js
--pre-js
wasm/src/prepend.js
# fix worker script issue
-s
USE_SDL
=
2
# use SDL2
-s
USE_PTHREADS
=
1
# enable pthreads support
-s
PROXY_TO_PTHREAD
=
1
# detach main() from browser/UI main thread
...
...
wasm/src/prepend.js
deleted
100644 → 0
View file @
f2ce6fe1
Module
[
'locateFile'
]
=
function
(
path
,
prefix
)
{
if
(
typeof
window
!==
'undefined'
&&
typeof
window
.
FFMPEG_CORE_WORKER_SCRIPT
!==
'undefined'
&&
path
.
endsWith
(
'ffmpeg-core.worker.js'
))
{
return
window
.
FFMPEG_CORE_WORKER_SCRIPT
;
}
return
prefix
+
path
;
}
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