mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-03 00:06:31 +00:00
Only enable RFI at resolutions at or below 1080p due to bugs
This commit is contained in:
parent
842b6b3c76
commit
f99381df81
@ -436,15 +436,17 @@ void ClSetHdrMode(bool enabled)
|
|||||||
_drCallbacks.start = DrStart;
|
_drCallbacks.start = DrStart;
|
||||||
_drCallbacks.stop = DrStop;
|
_drCallbacks.stop = DrStop;
|
||||||
|
|
||||||
|
_drCallbacks.capabilities = CAPABILITY_PULL_RENDERER;
|
||||||
|
|
||||||
|
#if !TARGET_OS_TV
|
||||||
// RFI doesn't work properly with HEVC on iOS 11 with an iPhone SE (at least)
|
// RFI doesn't work properly with HEVC on iOS 11 with an iPhone SE (at least)
|
||||||
// It doesnt work on macOS either, tested with Network Link Conditioner.
|
// It doesnt work on macOS either, tested with Network Link Conditioner.
|
||||||
// RFI seems to be broken at all resolutions on the Apple TV 4K (1st gen)
|
// RFI seems to be broken at all resolutions on the Apple TV 4K (1st gen)
|
||||||
// on tvOS 14.5.
|
// on tvOS 14.5 and above resolutions around 1080p on recent GFE versions.
|
||||||
_drCallbacks.capabilities =
|
if (config.width * config.height <= 1920 * 1080) {
|
||||||
#if !TARGET_OS_TV
|
_drCallbacks.capabilities |= CAPABILITY_REFERENCE_FRAME_INVALIDATION_AVC;
|
||||||
CAPABILITY_REFERENCE_FRAME_INVALIDATION_AVC |
|
}
|
||||||
#endif
|
#endif
|
||||||
CAPABILITY_PULL_RENDERER;
|
|
||||||
|
|
||||||
LiInitializeAudioCallbacks(&_arCallbacks);
|
LiInitializeAudioCallbacks(&_arCallbacks);
|
||||||
_arCallbacks.init = ArInit;
|
_arCallbacks.init = ArInit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user