Commit 783467b8 by andrewlewis Committed by Oliver Woodman

Work around broken MP3 decoder.

Issue: #398
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=112412961
parent a049382c
...@@ -194,6 +194,9 @@ public final class MediaCodecUtil { ...@@ -194,6 +194,9 @@ public final class MediaCodecUtil {
|| "MP3Decoder".equals(name)) { || "MP3Decoder".equals(name)) {
return false; return false;
} }
if (Util.SDK_INT == 16 && "OMX.SEC.MP3.Decoder".equals(name)) {
return false;
}
// Work around an issue where creating a particular MP3 decoder on some devices on platform API // Work around an issue where creating a particular MP3 decoder on some devices on platform API
// version 16 crashes mediaserver. // version 16 crashes mediaserver.
......
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