fixed ios camera timing (patch by Eduard Feicho)

This commit is contained in:
Vadim Pisarevsky
2012-08-22 13:33:13 +04:00
parent da5aaab277
commit e95bc7d502
2 changed files with 43 additions and 111 deletions

View File

@@ -80,7 +80,6 @@
@property (nonatomic, retain) UIView* parentView;
- (void)pause;
- (void)start;
- (void)stop;
- (void)switchCameras;
@@ -120,6 +119,8 @@
AVAssetWriterInput* recordAssetWriterInput;
AVAssetWriterInputPixelBufferAdaptor* recordPixelBufferAdaptor;
AVAssetWriter* recordAssetWriter;
CMTime lastSampleTime;
}
@@ -134,6 +135,8 @@
- (void)adjustLayoutToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
- (void)layoutPreviewLayer;
- (void)saveVideo;
- (NSURL *)videoFileURL;
@end