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
c87d16ca
authored
Mar 24, 2022
by
andrewlewis
Committed by
Ian Baker
Mar 25, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Handle non-standard MIME type on LG AC3 decoder
PiperOrigin-RevId: 437057336
parent
117456c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
RELEASENOTES.md
libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecUtil.java
RELEASENOTES.md
View file @
c87d16ca
...
...
@@ -15,6 +15,8 @@
*
Track selection:
*
Flatten
`TrackSelectionOverrides`
class into
`TrackSelectionParameters`
,
and promote
`TrackSelectionOverride`
to a top level class.
*
Audio:
*
Use LG AC3 audio decoder advertising non-standard MIME type.
*
Extractors:
*
Matroska: Parse
`DiscardPadding`
for Opus tracks.
*
UI:
...
...
libraries/exoplayer/src/main/java/androidx/media3/exoplayer/mediacodec/MediaCodecUtil.java
View file @
c87d16ca
...
...
@@ -443,6 +443,8 @@ public final class MediaCodecUtil {
return
"audio/x-lg-alac"
;
}
else
if
(
mimeType
.
equals
(
MimeTypes
.
AUDIO_FLAC
)
&&
"OMX.lge.flac.decoder"
.
equals
(
name
))
{
return
"audio/x-lg-flac"
;
}
else
if
(
mimeType
.
equals
(
MimeTypes
.
AUDIO_AC3
)
&&
"OMX.lge.ac3.decoder"
.
equals
(
name
))
{
return
"audio/lg-ac3"
;
}
return
null
;
...
...
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