File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ - (IplImage*)getOutput;
383
383
[mCaptureDecompressedVideoOutput setVideoSettings: pixelBufferOptions];
384
384
mCaptureDecompressedVideoOutput .alwaysDiscardsLateVideoFrames = YES ;
385
385
386
- #if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR) && ! TARGET_OS_MACCATALYST
386
+ #if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR) && (!defined( TARGET_OS_MACCATALYST) || !TARGET_OS_MACCATALYST)
387
387
mCaptureDecompressedVideoOutput .minFrameDuration = CMTimeMake (1 , 30 );
388
388
#endif
389
389
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ - (void)createVideoPreviewLayer;
299
299
}
300
300
else
301
301
{
302
- #if ! TARGET_OS_MACCATALYST
302
+ #if (!defined( TARGET_OS_MACCATALYST) || !TARGET_OS_MACCATALYST)
303
303
// Deprecated in 6.0; here for backward compatibility
304
304
if ([self .captureVideoPreviewLayer isOrientationSupported ])
305
305
{
You can’t perform that action at this time.
0 commit comments