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
fa691035
authored
Jul 17, 2019
by
olly
Committed by
Oliver Woodman
Jul 26, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Extend RK video_decoder workaround to newer API levels
Issue: #6184 PiperOrigin-RevId: 258527533
parent
bba0a27c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java
library/core/src/main/java/com/google/android/exoplayer2/mediacodec/MediaCodecRenderer.java
View file @
fa691035
...
@@ -1806,9 +1806,8 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
...
@@ -1806,9 +1806,8 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
*/
*/
private
static
boolean
codecNeedsEosPropagationWorkaround
(
MediaCodecInfo
codecInfo
)
{
private
static
boolean
codecNeedsEosPropagationWorkaround
(
MediaCodecInfo
codecInfo
)
{
String
name
=
codecInfo
.
name
;
String
name
=
codecInfo
.
name
;
return
(
Util
.
SDK_INT
<=
17
return
(
Util
.
SDK_INT
<=
25
&&
"OMX.rk.video_decoder.avc"
.
equals
(
name
))
&&
(
"OMX.rk.video_decoder.avc"
.
equals
(
name
)
||
(
Util
.
SDK_INT
<=
17
&&
"OMX.allwinner.video.decoder.avc"
.
equals
(
name
))
||
"OMX.allwinner.video.decoder.avc"
.
equals
(
name
)))
||
(
"Amazon"
.
equals
(
Util
.
MANUFACTURER
)
&&
"AFTS"
.
equals
(
Util
.
MODEL
)
&&
codecInfo
.
secure
);
||
(
"Amazon"
.
equals
(
Util
.
MANUFACTURER
)
&&
"AFTS"
.
equals
(
Util
.
MODEL
)
&&
codecInfo
.
secure
);
}
}
...
...
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