From 3baadd43d2f30712ba3ee9d33e144ef5f01e8cf8 Mon Sep 17 00:00:00 2001 From: John Wisolith Date: Fri, 22 Apr 2016 14:12:17 +1000 Subject: [PATCH] Update `CardIOVideoStream`'s `previewLayer` to `CALayer` to allow it to be a `SimulatedCameraLayer` --- Classes/CardIOVideoStream.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/CardIOVideoStream.mm b/Classes/CardIOVideoStream.mm index bfd1ad3f..e46cd9fd 100644 --- a/Classes/CardIOVideoStream.mm +++ b/Classes/CardIOVideoStream.mm @@ -144,7 +144,7 @@ @interface CardIOVideoStream () @property(nonatomic, assign, readwrite) BOOL wasRunningBeforeBeingBackgrounded; @property(nonatomic, assign, readwrite) BOOL didEndGeneratingDeviceOrientationNotifications; @property(assign, readwrite) UIInterfaceOrientation interfaceOrientation; // intentionally atomic -- video frames are processed on a different thread -@property(nonatomic, strong, readwrite) AVCaptureVideoPreviewLayer *previewLayer; +@property(nonatomic, strong, readwrite) CALayer *previewLayer; @property(nonatomic, strong, readwrite) AVCaptureSession *captureSession; @property(nonatomic, strong, readwrite) AVCaptureDevice *camera; @property(nonatomic, strong, readwrite) AVCaptureDeviceInput *cameraInput;