Commit c87d16ca by andrewlewis Committed by Ian Baker

Handle non-standard MIME type on LG AC3 decoder

PiperOrigin-RevId: 437057336
parent 117456c1
......@@ -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:
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment