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
9aee406c
authored
Mar 27, 2017
by
Alex Telitsine
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Disables codecIsAdaptive for Odroid-XU4, comment updated
parent
c40b8156
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 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 @
9aee406c
...
@@ -1171,14 +1171,14 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
...
@@ -1171,14 +1171,14 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
&&
"OMX.MTK.AUDIO.DECODER.MP3"
.
equals
(
name
);
&&
"OMX.MTK.AUDIO.DECODER.MP3"
.
equals
(
name
);
}
}
/**
/**
* Returns whether the decoder is known to be non
a
daptive.
* Returns whether the decoder is known to be non
A
daptive.
* <p>
* <p>
* If false is returned then we explicitly override codecIsAdaptive,
* If false is returned then we explicitly override codecIsAdaptive,
* setting it to false.
* setting it to false.
*
*
* @param name The decoder name.
* @param name The decoder name.
* @param format The input format.
* @param format The input format.
* @return
True if the device is known to be non adaptiv
.
* @return
False if the device is known to be non adaptive
.
*/
*/
private
static
boolean
codecSupportsAdaptive
(
String
name
,
Format
format
)
{
private
static
boolean
codecSupportsAdaptive
(
String
name
,
Format
format
)
{
return
!(
return
!(
...
...
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