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
ab3f6237
authored
Aug 07, 2015
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Workaround broken devices.
Issue #464 Issue #665
parent
a7d843f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
library/src/main/java/com/google/android/exoplayer/MediaCodecTrackRenderer.java
library/src/main/java/com/google/android/exoplayer/MediaCodecTrackRenderer.java
View file @
ab3f6237
...
@@ -950,8 +950,11 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
...
@@ -950,8 +950,11 @@ public abstract class MediaCodecTrackRenderer extends TrackRenderer {
* incorrectly on the host device. False otherwise.
* incorrectly on the host device. False otherwise.
*/
*/
private
static
boolean
codecNeedsEndOfStreamWorkaround
(
String
name
)
{
private
static
boolean
codecNeedsEndOfStreamWorkaround
(
String
name
)
{
return
Util
.
SDK_INT
<=
17
&&
"ht7s3"
.
equals
(
Util
.
DEVICE
)
// Tesco HUDL
return
Util
.
SDK_INT
<=
17
&&
"OMX.rk.video_decoder.avc"
.
equals
(
name
);
&&
"OMX.rk.video_decoder.avc"
.
equals
(
name
)
&&
(
"ht7s3"
.
equals
(
Util
.
DEVICE
)
// Tesco HUDL
||
"rk30sdk"
.
equals
(
Util
.
DEVICE
)
// Rockchip rk30
||
"rk31sdk"
.
equals
(
Util
.
DEVICE
));
// Rockchip rk31
}
}
}
}
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