Work around broken AAC decoder.
Issue: #1528 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122421357
This commit is contained in:
parent
ebca7f9a21
commit
23769fe82e
@ -195,9 +195,15 @@ public final class MediaCodecUtil {
|
||||
|| "MP3Decoder".equals(name)) {
|
||||
return false;
|
||||
}
|
||||
// Work around https://github.com/google/ExoPlayer/issues/398
|
||||
if (Util.SDK_INT < 18 && "OMX.SEC.MP3.Decoder".equals(name)) {
|
||||
return false;
|
||||
}
|
||||
// Work around https://github.com/google/ExoPlayer/issues/1528
|
||||
if (Util.SDK_INT < 18 && "OMX.MTK.AUDIO.DECODER.AAC".equals(name)
|
||||
&& "a70".equals(Util.DEVICE)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Work around an issue where creating a particular MP3 decoder on some devices on platform API
|
||||
// version 16 crashes mediaserver.
|
||||
|
Loading…
x
Reference in New Issue
Block a user