Commit 71792d5c authored by Simon Morlat's avatar Simon Morlat

fix build errors

parent 49c7da35
...@@ -83,7 +83,6 @@ static MSPixFmt ostype_to_pix_fmt(OSType pixelFormat, bool printFmtName){ ...@@ -83,7 +83,6 @@ static MSPixFmt ostype_to_pix_fmt(OSType pixelFormat, bool printFmtName){
- (QTCaptureSession *)session; - (QTCaptureSession *)session;
- (queue_t*)rq; - (queue_t*)rq;
- (ms_mutex_t *)mutex; - (ms_mutex_t *)mutex;
- (BOOL) isStretchingCamera;
@end @end
...@@ -245,7 +244,6 @@ static bool is_stretching_camera(const char *modelID){ ...@@ -245,7 +244,6 @@ static bool is_stretching_camera(const char *modelID){
} }
- (QTCaptureDevice*)initDevice:(NSString*)deviceId { - (QTCaptureDevice*)initDevice:(NSString*)deviceId {
NSError *error = nil;
unsigned int i = 0; unsigned int i = 0;
QTCaptureDevice * device = NULL; QTCaptureDevice * device = NULL;
...@@ -267,7 +265,6 @@ static bool is_stretching_camera(const char *modelID){ ...@@ -267,7 +265,6 @@ static bool is_stretching_camera(const char *modelID){
- (void)openDevice:(NSString*)deviceId { - (void)openDevice:(NSString*)deviceId {
NSError *error = nil; NSError *error = nil;
unsigned int i = 0;
QTCaptureDevice * device = [self initDevice:deviceId]; QTCaptureDevice * device = [self initDevice:deviceId];
bool success = [device open:&error]; bool success = [device open:&error];
......
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