Skip to content

Commit 3baadd4

Browse files
author
John Wisolith
committed
Update CardIOVideoStream's previewLayer to CALayer to allow it to be a SimulatedCameraLayer
1 parent 6492d8e commit 3baadd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/CardIOVideoStream.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ @interface CardIOVideoStream ()
144144
@property(nonatomic, assign, readwrite) BOOL wasRunningBeforeBeingBackgrounded;
145145
@property(nonatomic, assign, readwrite) BOOL didEndGeneratingDeviceOrientationNotifications;
146146
@property(assign, readwrite) UIInterfaceOrientation interfaceOrientation; // intentionally atomic -- video frames are processed on a different thread
147-
@property(nonatomic, strong, readwrite) AVCaptureVideoPreviewLayer *previewLayer;
147+
@property(nonatomic, strong, readwrite) CALayer *previewLayer;
148148
@property(nonatomic, strong, readwrite) AVCaptureSession *captureSession;
149149
@property(nonatomic, strong, readwrite) AVCaptureDevice *camera;
150150
@property(nonatomic, strong, readwrite) AVCaptureDeviceInput *cameraInput;

0 commit comments

Comments
 (0)