Forráskód Böngészése

mac-avcapture: Remove unneeded macOS SDK ifdef

We require the macOS 15 SDK since 8f1bcc1, so this check is unneeded.
Sebastian Beckmann 3 hónapja
szülő
commit
28b0ca5187
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      plugins/mac-avcapture/OBSAVCapture.m

+ 0 - 2
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";
     }