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
2c495502
authored
Nov 08, 2017
by
yqritc
Committed by
Oliver Woodman
Nov 13, 2017
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add issue link
parent
2c8c14d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 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 @
2c495502
...
@@ -1071,8 +1071,9 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
...
@@ -1071,8 +1071,9 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
* If true is returned then we fall back to releasing and re-instantiating the codec instead.
* If true is returned then we fall back to releasing and re-instantiating the codec instead.
*/
*/
private
static
boolean
codecNeedsSetOutputSurfaceWorkaround
(
String
name
)
{
private
static
boolean
codecNeedsSetOutputSurfaceWorkaround
(
String
name
)
{
// Work around https://github.com/google/ExoPlayer/issues/3236 and
// Work around https://github.com/google/ExoPlayer/issues/3236,
// https://github.com/google/ExoPlayer/issues/3355.
// https://github.com/google/ExoPlayer/issues/3355 and
// https://github.com/google/ExoPlayer/issues/3439.
return
((
"deb"
.
equals
(
Util
.
DEVICE
)
||
"flo"
.
equals
(
Util
.
DEVICE
))
return
((
"deb"
.
equals
(
Util
.
DEVICE
)
||
"flo"
.
equals
(
Util
.
DEVICE
))
&&
"OMX.qcom.video.decoder.avc"
.
equals
(
name
))
&&
"OMX.qcom.video.decoder.avc"
.
equals
(
name
))
||
((
"tcl_eu"
.
equals
(
Util
.
DEVICE
)
||
Util
.
MODEL
.
startsWith
(
"BRAVIA"
))
||
((
"tcl_eu"
.
equals
(
Util
.
DEVICE
)
||
Util
.
MODEL
.
startsWith
(
"BRAVIA"
))
...
...
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