mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Work around broken MP3 decoder.
Issue: #398 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=112412961
This commit is contained in:
parent
a049382cd7
commit
783467b8fb
1 changed files with 3 additions and 0 deletions
|
|
@ -194,6 +194,9 @@ public final class MediaCodecUtil {
|
|||
|| "MP3Decoder".equals(name)) {
|
||||
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
|
||||
// version 16 crashes mediaserver.
|
||||
|
|
|
|||
Loading…
Reference in a new issue