Commit edfa03d9 by andrewlewis Committed by Ian Baker

Handle non-standard MIME type on LG AC3 decoder

PiperOrigin-RevId: 437057336
parent f41ebf6c
...@@ -441,6 +441,8 @@ public final class MediaCodecUtil { ...@@ -441,6 +441,8 @@ public final class MediaCodecUtil {
return "audio/x-lg-alac"; return "audio/x-lg-alac";
} else if (mimeType.equals(MimeTypes.AUDIO_FLAC) && "OMX.lge.flac.decoder".equals(name)) { } else if (mimeType.equals(MimeTypes.AUDIO_FLAC) && "OMX.lge.flac.decoder".equals(name)) {
return "audio/x-lg-flac"; return "audio/x-lg-flac";
} else if (mimeType.equals(MimeTypes.AUDIO_AC3) && "OMX.lge.ac3.decoder".equals(name)) {
return "audio/lg-ac3";
} }
return null; 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