mac-avcapture: Remove unneeded macOS SDK ifdef

We require the macOS 15 SDK since 8f1bcc1, so this check is unneeded.
This commit is contained in:
Sebastian Beckmann
2025-07-14 23:13:16 +02:00
committed by Ryan Foster
parent 4c912358a9
commit 28b0ca5187

View File

@@ -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";
}