Force Qualcomm and Samsung HEVC decoders disabled to avoid crashes and poor performance

This commit is contained in:
Cameron Gutman 2017-06-06 22:49:09 -07:00
parent 4b9c6b149a
commit d7c6f63592

View File

@ -72,6 +72,12 @@ public class MediaCodecHelper {
// decoder. While not strictly necessary, I'm going to fully blacklist this // decoder. While not strictly necessary, I'm going to fully blacklist this
// one to avoid users getting inaccurate impressions of Tegra X1/Moonlight performance. // one to avoid users getting inaccurate impressions of Tegra X1/Moonlight performance.
blacklistedDecoderPrefixes.add("OMX.Nvidia.h265.decode"); blacklistedDecoderPrefixes.add("OMX.Nvidia.h265.decode");
// Force these decoders disabled because:
// 1) They are software decoders, so the performance is terrible
// 2) They crash with our HEVC stream anyway (at least prior to CSD batching)
blacklistedDecoderPrefixes.add("OMX.qcom.video.decoder.hevcswvdec");
blacklistedDecoderPrefixes.add("OMX.SEC.hevc.sw.dec");
} }
static { static {