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
3b29eeae
authored
Jul 06, 2018
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'joomcode-dev-v2' into dev-v2
parents
0ed8e86b
db882226
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java
library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java
View file @
3b29eeae
...
...
@@ -1188,9 +1188,12 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
* @return True if the device is known to handle {@link DummySurface} incorrectly.
*/
protected
boolean
codecNeedsDummySurfaceWorkaround
(
String
name
)
{
// Work around https://github.com/google/ExoPlayer/issues/4419.
return
(
"Amazon"
.
equals
(
Util
.
MANUFACTURER
)
&&
"AFTN"
.
equals
(
Util
.
MODEL
))
// FireTV 4K
&&
"OMX.amlogic.avc.decoder.awesome"
.
equals
(
name
);
// Work around https://github.com/google/ExoPlayer/issues/4419,
// https://github.com/google/ExoPlayer/issues/4460.
return
((
"Amazon"
.
equals
(
Util
.
MANUFACTURER
)
&&
"AFTN"
.
equals
(
Util
.
MODEL
))
// FireTV 4K
&&
"OMX.amlogic.avc.decoder.awesome"
.
equals
(
name
))
||
((
"asus"
.
equals
(
Util
.
MANUFACTURER
)
&&
"ZB500KL"
.
equals
(
Util
.
MODEL
))
// Asus Zenfone Go
&&
"OMX.qcom.video.decoder.avc"
.
equals
(
name
));
}
/**
...
...
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