Block OMX.ffmpeg software decoders

This commit is contained in:
Cameron Gutman 2017-10-17 00:31:26 -07:00
parent 780a64694d
commit 8911c58e50

View File

@ -71,6 +71,9 @@ public class MediaCodecHelper {
blacklistedDecoderPrefixes.add("AVCDecoder");
}
// Never use ffmpeg decoders since they're software decoders
blacklistedDecoderPrefixes.add("OMX.ffmpeg");
// Without bitstream fixups, we perform horribly on NVIDIA's HEVC
// decoder. While not strictly necessary, I'm going to fully blacklist this
// one to avoid users getting inaccurate impressions of Tegra X1/Moonlight performance.