mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-26 22:43:05 +00:00
Revert "Avoid Amlogic HEVC decoders until the latency issue is understood"
This reverts commit 3600e704c48e58cf82cb81207fff89b6dbdd2f99.
This commit is contained in:
parent
3600e704c4
commit
823593ddae
@ -165,12 +165,7 @@ public class MediaCodecHelper {
|
|||||||
// since GFE added support for maxNumReferenceFrames, we'll just enable all Amlogic SoCs
|
// since GFE added support for maxNumReferenceFrames, we'll just enable all Amlogic SoCs
|
||||||
// running Android 9 or later. HEVC is much lower latency than H.264 on Sabrina (S905X2).
|
// running Android 9 or later. HEVC is much lower latency than H.264 on Sabrina (S905X2).
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||||
// This broke at some point and now latency is like 10 frames and completely unplayable.
|
whitelistedHevcDecoders.add("omx.amlogic");
|
||||||
//whitelistedHevcDecoders.add("omx.amlogic");
|
|
||||||
|
|
||||||
// It looks like the OMX.amlogic.hevc.decoder.awesome2 in the ADT-3/Google TV Chromecast
|
|
||||||
// doesn't suffer from the latency problem that the ADT-2 has with OMX.amlogic.hevc.decoder.awesome
|
|
||||||
whitelistedHevcDecoders.add("OMX.amlogic.hevc.decoder.awesome2");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// These theoretically have good HEVC decoding capabilities (potentially better than
|
// These theoretically have good HEVC decoding capabilities (potentially better than
|
||||||
|
Loading…
x
Reference in New Issue
Block a user