Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ParaEncode
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
ParaEncode
Commits
d1d0f740
Commit
d1d0f740
authored
May 16, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use default PROBESIZE.
parent
cc6b5e35
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
ffmpeg.protos
lib/ffmpeg.protos
+1
-1
muxer.c
src/wasms/muxer.c
+4
-1
wasm-build.sh
wasm-build.sh
+1
-1
No files found.
ffmpeg.protos
@
c1795064
Subproject commit
ed9a740bf43e07eb4c7e77a98be88ad60215e169
Subproject commit
c17950640acf39ff74654fd2c72f1c17016eb8d0
src/wasms/muxer.c
View file @
d1d0f740
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
#define ERROR 1
#define ERROR 1
#define TERMINATED 2
#define TERMINATED 2
#define PROBESIZE 5000000
typedef
enum
{
typedef
enum
{
CONTEXT_STOP
=
0
,
CONTEXT_STOP
=
0
,
...
@@ -147,8 +148,10 @@ int contextInitializes() {
...
@@ -147,8 +148,10 @@ int contextInitializes() {
Context
*
ctx
=
listGet
(
ctxs
,
i
);
Context
*
ctx
=
listGet
(
ctxs
,
i
);
MMProto
*
proto
=
listGet
(
protos
,
i
);
MMProto
*
proto
=
listGet
(
protos
,
i
);
printf
(
"MW: (1)BUF SIZE: %d
\n
(2)EOF:%d
\n
"
,
mmpBufferSize
(
proto
),
mmpIsEOF
(
proto
));
if
(
ctx
->
state
!=
CONTEXT_STOP
||
if
(
ctx
->
state
!=
CONTEXT_STOP
||
mmpBufferSize
(
proto
)
<
25000
)
{
(
mmpBufferSize
(
proto
)
<
PROBESIZE
&&
!
mmpIsEOF
(
proto
))
)
{
continue
;
continue
;
}
}
...
...
wasm-build.sh
View file @
d1d0f740
...
@@ -55,7 +55,7 @@ if [ ! -d "build" ]; then
...
@@ -55,7 +55,7 @@ if [ ! -d "build" ]; then
fi
fi
cd
build
cd
build
emcmake cmake ..
-DCMAKE_INSTALL_PREFIX
=
${
BUILD_DIR
}
-DBUILD_SHARED_LIBS
=
OFF
-DDEBUG
=
OFF
-DEMCC
=
ON
\
emcmake cmake ..
-DCMAKE_INSTALL_PREFIX
=
${
BUILD_DIR
}
-DBUILD_SHARED_LIBS
=
OFF
-DDEBUG
=
OFF
-DEMCC
=
ON
\
-D
STREAM_PROBESIZE
=
20000
-D
CMAKE_C_FLAGS
=
-isystem
\
${
LIB_DIR
}
/ffmpeg.wasm-core
-DCMAKE_C_FLAGS
=
-isystem
\
${
LIB_DIR
}
/ffmpeg.wasm-core
emmake make
emmake make
emmake make
install
emmake make
install
...
...
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