From 3fb328e2382ae4452c87e86d77789f76561ba909 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 24 Sep 2023 20:55:08 -0400 Subject: [PATCH] Fix for old Xcode version in CI --- Limelight/Stream/VideoDecoderRenderer.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Limelight/Stream/VideoDecoderRenderer.m b/Limelight/Stream/VideoDecoderRenderer.m index 8ac5636..6a53bac 100644 --- a/Limelight/Stream/VideoDecoderRenderer.m +++ b/Limelight/Stream/VideoDecoderRenderer.m @@ -285,6 +285,7 @@ int DrSubmitDecodeUnit(PDECODE_UNIT decodeUnit); // No frame data to submit for these NALUs return DR_OK; } +#if defined(__IPHONE_16_0) || defined(__TVOS_16_0) else if ((videoFormat & VIDEO_FORMAT_MASK_AV1) && frameType == FRAME_TYPE_IDR) { // AV1 doesn't have a special format description function like H.264 and HEVC have, so we just use the generic one // TODO: Is this correct? @@ -294,6 +295,7 @@ int DrSubmitDecodeUnit(PDECODE_UNIT decodeUnit); formatDesc = NULL; } } +#endif if (formatDesc == NULL) { // Can't decode if we haven't gotten our parameter sets yet