Blacklist OMX.SEC.mp3.dec and OMX.brcm.audio.mp3.decoder on Samsung devices

parent 3390b216
...@@ -318,14 +318,14 @@ public final class MediaCodecUtil { ...@@ -318,14 +318,14 @@ public final class MediaCodecUtil {
} }
// Work around https://github.com/google/ExoPlayer/issues/4519. // Work around https://github.com/google/ExoPlayer/issues/4519.
if ("OMX.SEC.mp3.dec".equals(name) && ("GT-I9152".equals(Util.MODEL) if ("OMX.SEC.mp3.dec".equals(name) && ("GT-I9515".equals(Util.MODEL)
|| "GT-P5220".equals(Util.MODEL) || "GT-P5220".equals(Util.MODEL)
|| "SM-T231".equals(Util.MODEL) || "SM-T231".equals(Util.MODEL)
|| "SM-T530".equals(Util.MODEL))) { || "SM-T530".equals(Util.MODEL))) {
return false; return false;
} }
if (("OMX.SEC.mp3.dec".equals(name) || "OMX.brcm.audio.mp3.decoder".equals(name)) 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-S7580".equals(Util.MODEL) || "GT-S7580".equals(Util.MODEL)
|| "SM-G350".equals(Util.MODEL))) { || "SM-G350".equals(Util.MODEL))) {
return false; return false;
......
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