From cbcb784a79ff9f60908dadc4e13b275b87329e9f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 7 May 2016 20:53:45 -0400 Subject: [PATCH] Blacklist Tegra X1's HEVC decoder until the correct SPS fixups are in place --- .../java/com/limelight/binding/video/MediaCodecHelper.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java b/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java index 81a4d991..2c972ef9 100644 --- a/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java +++ b/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java @@ -57,6 +57,11 @@ public class MediaCodecHelper { // Software decoders that don't support H264 high profile blacklistedDecoderPrefixes.add("omx.google"); blacklistedDecoderPrefixes.add("AVCDecoder"); + + // 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. + blacklistedDecoderPrefixes.add("OMX.Nvidia.h265.decode"); } static {