From 28b0ca5187f5ce46fdd8c4d3feff6f0c3fea1ded Mon Sep 17 00:00:00 2001 From: Sebastian Beckmann Date: Mon, 14 Jul 2025 23:13:16 +0200 Subject: [PATCH] mac-avcapture: Remove unneeded macOS SDK ifdef We require the macOS 15 SDK since 8f1bcc1, so this check is unneeded. --- plugins/mac-avcapture/OBSAVCapture.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/mac-avcapture/OBSAVCapture.m b/plugins/mac-avcapture/OBSAVCapture.m index abd472ee2..0076d36e6 100644 --- a/plugins/mac-avcapture/OBSAVCapture.m +++ b/plugins/mac-avcapture/OBSAVCapture.m @@ -774,14 +774,12 @@ static const UInt32 kMaxFrameRateRangesInDescription = 10; effectsCount++; } } -#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 150000 if (@available(macOS 15.0, *)) { if (device.backgroundReplacementActive) { effectWarning = @"Warning.Effect.BackgroundReplacement"; effectsCount++; } } -#endif if (effectsCount > 1) { effectWarning = @"Warning.Effect.Multiple"; }