mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Only use RFI on modern Intel devices
This commit is contained in:
parent
ce7146175a
commit
6edd0ab540
@ -135,8 +135,12 @@ public class MediaCodecHelper {
|
|||||||
LimeLog.info("Added omx.qcom to AVC reference frame invalidation support list");
|
LimeLog.info("Added omx.qcom to AVC reference frame invalidation support list");
|
||||||
refFrameInvalidationAvcPrefixes.add("omx.qcom");
|
refFrameInvalidationAvcPrefixes.add("omx.qcom");
|
||||||
|
|
||||||
LimeLog.info("Added omx.intel to AVC reference frame invalidation support list");
|
// Prior to M, we were tricking the decoder into using baseline profile, which
|
||||||
refFrameInvalidationAvcPrefixes.add("omx.intel");
|
// won't support RFI properly.
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||||
|
LimeLog.info("Added omx.intel to AVC reference frame invalidation support list");
|
||||||
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user