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
6596cd1d
authored
May 12, 2021
by
olly
Committed by
Oliver Woodman
May 13, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove legacyKeepAvailableCodecInfosWithoutCodec
It's no longer used. PiperOrigin-RevId: 373426109
parent
46c5f030
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
11 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 @
6596cd1d
...
...
@@ -1451,9 +1451,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
}
if
(
codec
==
null
)
{
if
(!
legacyKeepAvailableCodecInfosWithoutCodec
())
{
availableCodecInfos
=
null
;
}
availableCodecInfos
=
null
;
maybeInitCodecOrBypass
();
return
null
;
}
...
...
@@ -1543,14 +1541,6 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
}
/**
* Returns whether to keep available codec infos when the codec hasn't been initialized, which is
* the behavior before a bug fix. See also [Internal: b/162837741].
*/
protected
boolean
legacyKeepAvailableCodecInfosWithoutCodec
()
{
return
false
;
}
/**
* Called when one of the output formats changes.
*
* <p>The default implementation is a no-op.
...
...
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