Skip to content

Commit

Permalink
Oops! the ErrorCode parameter for the CameraPlugin is not needed/shou…
Browse files Browse the repository at this point in the history
…ld not

be implemented (on macos).
  • Loading branch information
eliotmiranda committed Feb 22, 2023
1 parent 9ac04b3 commit bc49ac6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions platforms/iOS/plugins/CameraPlugin/AVFoundationVideoGrabber.m
Expand Up @@ -636,7 +636,6 @@ -(void)stopCapture: (sqInt)cameraNum {
case FrameCount: return grabber->frameCount;
case FrameByteSize: return grabber->width * grabber->height * 4;
case MirrorImage: return grabber->mirrorImage;
case ErrorCode: return grabber->errorCode;
}
return -PrimErrBadArgument;
}
Expand All @@ -655,10 +654,6 @@ -(void)stopCapture: (sqInt)cameraNum {
oldValue = grabber->mirrorImage;
grabber->mirrorImage = paramValue;
return oldValue;
case ErrorCode:
oldValue = grabber->errorCode;
grabber->errorCode = paramValue;
return oldValue;
}
return -PrimErrBadArgument;
}
Expand Down

0 comments on commit bc49ac6

Please sign in to comment.