Force HEVC disabled on Qualcomm SoCs older than Snapdragon 805

This commit is contained in:
Cameron Gutman 2017-09-19 21:21:23 -07:00
parent b9f1142af7
commit 20c4eac4ef

View File

@ -155,6 +155,7 @@ public class MediaCodecHelper {
LimeLog.info("Added omx.intel to AVC reference frame invalidation support list"); LimeLog.info("Added omx.intel to AVC reference frame invalidation support list");
refFrameInvalidationAvcPrefixes.add("omx.intel"); refFrameInvalidationAvcPrefixes.add("omx.intel");
} }
}
// Qualcomm's early HEVC decoders break hard on our HEVC stream. The best check to // Qualcomm's early HEVC decoders break hard on our HEVC stream. The best check to
// tell the good from the bad decoders are the generation of Adreno GPU included: // tell the good from the bad decoders are the generation of Adreno GPU included:
@ -170,6 +171,8 @@ public class MediaCodecHelper {
//LimeLog.info("Added omx.qcom to supported HEVC decoders based on GLES 3.1+ support"); //LimeLog.info("Added omx.qcom to supported HEVC decoders based on GLES 3.1+ support");
//whitelistedHevcDecoders.add("omx.qcom"); //whitelistedHevcDecoders.add("omx.qcom");
} }
else {
blacklistedDecoderPrefixes.add("OMX.qcom.video.decoder.hevc");
} }
} }
} }