mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 05:51:16 -04:00
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:
committed by
Ryan Foster
parent
4c912358a9
commit
28b0ca5187
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user