Blacklist OMX.SEC.mp3.dec and OMX.brcm.audio.mp3.decoder on Samsung devices
This commit is contained in:
parent
66e8a32766
commit
3390b21618
@ -318,16 +318,18 @@ 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) || "OMX.brcm.audio.mp3.decoder".equals(name))
|
if ("OMX.SEC.mp3.dec".equals(name) && ("GT-I9152".equals(Util.MODEL)
|
||||||
&& ("GT-I9515".equals(Util.MODEL)
|
|
||||||
|| "GT-I9152".equals(Util.MODEL)
|
|
||||||
|| "GT-P5220".equals(Util.MODEL)
|
|| "GT-P5220".equals(Util.MODEL)
|
||||||
|| "SM-G350".equals(Util.MODEL)
|
|
||||||
|| "SM-S7580".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))
|
||||||
|
&& ("GT-I9515".equals(Util.MODEL)
|
||||||
|
|| "GT-S7580".equals(Util.MODEL)
|
||||||
|
|| "SM-G350".equals(Util.MODEL))) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Work around https://github.com/google/ExoPlayer/issues/1528 and
|
// Work around https://github.com/google/ExoPlayer/issues/1528 and
|
||||||
// https://github.com/google/ExoPlayer/issues/3171.
|
// https://github.com/google/ExoPlayer/issues/3171.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user