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
dd8525f7
Commit
dd8525f7
authored
May 12, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debug print.
parent
24cd1715
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
defs.js
resources/workers/defs.js
+1
-2
encoder.c
src/wasms/encoder.c
+0
-2
No files found.
resources/workers/defs.js
View file @
dd8525f7
...
@@ -249,14 +249,13 @@ class Channel {
...
@@ -249,14 +249,13 @@ class Channel {
length
+=
plan
.
size
;
length
+=
plan
.
size
;
}
}
console
.
log
(
"CHANNEL: WRITE "
+
length
,
data
.
byteLength
);
// Caution: 'Write Pointer' must be updated after
// Caution: 'Write Pointer' must be updated after
// all datas are writed but not before or
// all datas are writed but not before or
// at intermediate of some writes otherwise
// at intermediate of some writes otherwise
// oppsite side may read invalid datas.
// oppsite side may read invalid datas.
this
.
#
writePointerUpdate
(
writePos
);
this
.
#
writePointerUpdate
(
writePos
);
return
true
;
return
true
;
}
}
...
...
src/wasms/encoder.c
View file @
dd8525f7
...
@@ -154,8 +154,6 @@ EM_PORT_API(int) getPackets(uint8_t *buffer, uint32_t size, uint32_t *osize) {
...
@@ -154,8 +154,6 @@ EM_PORT_API(int) getPackets(uint8_t *buffer, uint32_t size, uint32_t *osize) {
goto
DONE
;
goto
DONE
;
}
}
printf
(
"WASM Encode: Packet Size %d
\n
"
,
packet
->
size
);
// For video frame avcodec_receive_packet should return
// For video frame avcodec_receive_packet should return
// only once.
// only once.
if
(
remainSize
>
packet
->
size
)
{
if
(
remainSize
>
packet
->
size
)
{
...
...
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