mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 22:31:35 +00:00
Force HEVC disabled on Qualcomm SoCs older than Snapdragon 805
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user