mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Don't use HEVC on the Shield Tablet by default (until further performance testing)
This commit is contained in:
parent
3f46485382
commit
f509a4b3ab
@ -144,6 +144,15 @@ public class MediaCodecHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean decoderIsWhitelistedForHevc(String decoderName) {
|
public static boolean decoderIsWhitelistedForHevc(String decoderName) {
|
||||||
|
// NVIDIA does partial HEVC acceleration on the Shield Tablet. I don't know
|
||||||
|
// whether the performance is good enough to use for streaming, but they're
|
||||||
|
// using the same omx.nvidia.h265.decode name as the Shield TV which has a
|
||||||
|
// fully accelerated HEVC pipeline. AFAIK, the only K1 device with this
|
||||||
|
// partially accelerated HEVC decoder is the Shield Tablet, so I'll
|
||||||
|
// check for it here.
|
||||||
|
if (Build.DEVICE.equalsIgnoreCase("shieldtablet")) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return isDecoderInList(whitelistedHevcDecoders, decoderName);
|
return isDecoderInList(whitelistedHevcDecoders, decoderName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user