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
71fb7411
authored
Jun 04, 2021
by
olly
Committed by
bachinger
Jun 08, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Notify the client when ExoPlayer fallbacks to a different codec.
PiperOrigin-RevId: 377602447
parent
efdd55fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 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 @
71fb7411
...
@@ -1038,6 +1038,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
...
@@ -1038,6 +1038,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
DecoderInitializationException
exception
=
DecoderInitializationException
exception
=
new
DecoderInitializationException
(
new
DecoderInitializationException
(
inputFormat
,
e
,
mediaCryptoRequiresSecureDecoder
,
codecInfo
);
inputFormat
,
e
,
mediaCryptoRequiresSecureDecoder
,
codecInfo
);
onCodecError
(
exception
);
if
(
preferredDecoderInitializationException
==
null
)
{
if
(
preferredDecoderInitializationException
==
null
)
{
preferredDecoderInitializationException
=
exception
;
preferredDecoderInitializationException
=
exception
;
}
else
{
}
else
{
...
...
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