Re-enable the tvOS's HEVC option (defaulted to enabled)

Fixes #481
This commit is contained in:
Cameron Gutman
2022-08-01 20:01:41 -05:00
parent 6678488edc
commit ac801e9bfb
3 changed files with 2 additions and 4 deletions

View File

@@ -414,9 +414,7 @@ void ClSetHdrMode(bool enabled)
// As a result, we will only use HEVC on iOS 11.3 or later.
if (@available(iOS 11.3, tvOS 11.3, *)) {
_streamConfig.supportsHevc =
#if !TARGET_OS_TV
config.allowHevc &&
#endif
VTIsHardwareDecodeSupported(kCMVideoCodecType_HEVC);
}