Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
41963fce
authored
Sep 09, 2022
by
huangdarwin
Committed by
Marc Baechinger
Oct 19, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Decoder: Reduce max pending frame count limit down to 5.
PiperOrigin-RevId: 473212543
parent
593370bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/DefaultCodec.java
library/transformer/src/main/java/com/google/android/exoplayer2/transformer/DefaultCodec.java
View file @
41963fce
...
...
@@ -157,9 +157,9 @@ public final class DefaultCodec implements Codec {
// Some OMX decoders don't correctly track their number of output buffers available, and get
// stuck if too many frames are rendered without being processed, so limit the number of
// pending frames to avoid getting stuck. This value is experimentally determined. See also
// b/213455700, b/230097284,
and b/229978305
.
// b/213455700, b/230097284,
b/229978305, and b/245491744
.
// TODO(b/230097284): Add a maximum API check after we know which APIs will never use OMX.
return
10
;
return
5
;
}
// Otherwise don't limit the number of frames that can be pending at a time, to maximize
// throughput.
...
...
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