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
a458ed65
Commit
a458ed65
authored
Oct 06, 2016
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodecdec: remove first output buffer timing debug log
parent
8063978b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
mediacodecdec.c
libavcodec/mediacodecdec.c
+0
-8
mediacodecdec.h
libavcodec/mediacodecdec.h
+0
-3
No files found.
libavcodec/mediacodecdec.c
View file @
a458ed65
...
...
@@ -449,9 +449,6 @@ static int mediacodec_dec_flush_codec(AVCodecContext *avctx, MediaCodecDecContex
return
AVERROR_EXTERNAL
;
}
s
->
first_buffer
=
0
;
s
->
first_buffer_at
=
av_gettime
();
return
0
;
}
...
...
@@ -468,7 +465,6 @@ int ff_mediacodec_dec_init(AVCodecContext *avctx, MediaCodecDecContext *s,
AV_PIX_FMT_NONE
,
};
s
->
first_buffer_at
=
av_gettime
();
s
->
refcount
=
1
;
pix_fmt
=
ff_get_format
(
avctx
,
pix_fmts
);
...
...
@@ -645,10 +641,6 @@ int ff_mediacodec_dec_decode(AVCodecContext *avctx, MediaCodecDecContext *s,
if
(
index
>=
0
)
{
int
ret
;
if
(
!
s
->
first_buffer
++
)
{
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Got first buffer after %fms
\n
"
,
(
av_gettime
()
-
s
->
first_buffer_at
)
/
1000
);
}
av_log
(
avctx
,
AV_LOG_DEBUG
,
"Got output buffer %zd"
" offset=%"
PRIi32
" size=%"
PRIi32
" ts=%"
PRIi64
" flags=%"
PRIu32
"
\n
"
,
index
,
info
.
offset
,
info
.
size
,
...
...
libavcodec/mediacodecdec.h
View file @
a458ed65
...
...
@@ -61,9 +61,6 @@ typedef struct MediaCodecDecContext {
uint64_t
dequeued_buffer_nb
;
int
first_buffer
;
double
first_buffer_at
;
}
MediaCodecDecContext
;
int
ff_mediacodec_dec_init
(
AVCodecContext
*
avctx
,
...
...
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