Commit e21fed3c authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #7172 from valeriyvan:iosfixes

parents 55401767 f1db065c
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
int imageHeight; int imageHeight;
} }
@property (nonatomic, retain) AVCaptureSession* captureSession; @property (nonatomic, strong) AVCaptureSession* captureSession;
@property (nonatomic, retain) AVCaptureConnection* videoCaptureConnection; @property (nonatomic, strong) AVCaptureConnection* videoCaptureConnection;
@property (nonatomic, readonly) BOOL running; @property (nonatomic, readonly) BOOL running;
@property (nonatomic, readonly) BOOL captureSessionLoaded; @property (nonatomic, readonly) BOOL captureSessionLoaded;
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
@property (nonatomic, assign) int imageWidth; @property (nonatomic, assign) int imageWidth;
@property (nonatomic, assign) int imageHeight; @property (nonatomic, assign) int imageHeight;
@property (nonatomic, retain) UIView* parentView; @property (nonatomic, strong) UIView* parentView;
- (void)start; - (void)start;
- (void)stop; - (void)stop;
...@@ -138,9 +138,9 @@ ...@@ -138,9 +138,9 @@
@property (nonatomic, assign) BOOL recordVideo; @property (nonatomic, assign) BOOL recordVideo;
@property (nonatomic, assign) BOOL rotateVideo; @property (nonatomic, assign) BOOL rotateVideo;
@property (nonatomic, retain) AVAssetWriterInput* recordAssetWriterInput; @property (nonatomic, strong) AVAssetWriterInput* recordAssetWriterInput;
@property (nonatomic, retain) AVAssetWriterInputPixelBufferAdaptor* recordPixelBufferAdaptor; @property (nonatomic, strong) AVAssetWriterInputPixelBufferAdaptor* recordPixelBufferAdaptor;
@property (nonatomic, retain) AVAssetWriter* recordAssetWriter; @property (nonatomic, strong) AVAssetWriter* recordAssetWriter;
- (void)adjustLayoutToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation; - (void)adjustLayoutToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
- (void)layoutPreviewLayer; - (void)layoutPreviewLayer;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
@interface CvAbstractCamera () @interface CvAbstractCamera ()
@property (nonatomic, retain) AVCaptureVideoPreviewLayer* captureVideoPreviewLayer; @property (nonatomic, strong) AVCaptureVideoPreviewLayer* captureVideoPreviewLayer;
- (void)deviceOrientationDidChange:(NSNotification*)notification; - (void)deviceOrientationDidChange:(NSNotification*)notification;
- (void)startCaptureSession; - (void)startCaptureSession;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
@interface CvPhotoCamera () @interface CvPhotoCamera ()
@property (nonatomic, retain) AVCaptureStillImageOutput* stillImageOutput; @property (nonatomic, strong) AVCaptureStillImageOutput* stillImageOutput;
@end @end
......
...@@ -49,8 +49,8 @@ static CGFloat DegreesToRadians(CGFloat degrees) {return degrees * M_PI / 180;} ...@@ -49,8 +49,8 @@ static CGFloat DegreesToRadians(CGFloat degrees) {return degrees * M_PI / 180;}
- (void)createVideoFileOutput; - (void)createVideoFileOutput;
@property (nonatomic, retain) CALayer *customPreviewLayer; @property (nonatomic, strong) CALayer *customPreviewLayer;
@property (nonatomic, retain) AVCaptureVideoDataOutput *videoDataOutput; @property (nonatomic, strong) AVCaptureVideoDataOutput *videoDataOutput;
@end @end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment