We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 334afc9 commit 4e00f37Copy full SHA for 4e00f37
src/detection/camera/camera_apple.m
@@ -20,9 +20,10 @@
20
21
#ifdef MAC_OS_VERSION_14_0
22
// Strangely `@available(macOS 14.0, *)` doesn't work here (#1594)
23
- if (@available(macOS 14.0, *) && &AVCaptureDeviceTypeExternal)
+ if (@available(macOS 14.0, *))
24
{
25
- deviceType = AVCaptureDeviceTypeExternal;
+ if (&AVCaptureDeviceTypeExternal)
26
+ deviceType = AVCaptureDeviceTypeExternal;
27
}
28
#endif
29
if (deviceType == NULL)
0 commit comments