mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Blacklist OMX.SEC.mp3.dec and OMX.brcm.audio.mp3.decoder on Samsung devices
This commit is contained in:
parent
556dd7e9e0
commit
ea2d1f89b7
1 changed files with 8 additions and 1 deletions
|
|
@ -318,7 +318,14 @@ public final class MediaCodecUtil {
|
|||
}
|
||||
|
||||
// Work around https://github.com/google/ExoPlayer/issues/4519.
|
||||
if ("OMX.SEC.mp3.dec".equals(name) && "SM-T530".equals(Util.MODEL)) {
|
||||
if (("OMX.SEC.mp3.dec".equals(name) || "OMX.brcm.audio.mp3.decoder".equals(name))
|
||||
&& ("GT-I9515".equals(Util.MODEL)
|
||||
|| "GT-I9152".equals(Util.MODEL)
|
||||
|| "GT-P5220".equals(Util.MODEL)
|
||||
|| "SM-G350".equals(Util.MODEL)
|
||||
|| "SM-S7580".equals(Util.MODEL)
|
||||
|| "SM-T231".equals(Util.MODEL)
|
||||
|| "SM-T530".equals(Util.MODEL))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue