Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit a96e2aa

Browse files
committed
Attempt to fix #21
1 parent a400520 commit a96e2aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Private/IRLCameraView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ - (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CM
686686
dispatch_async(dispatch_get_main_queue(), ^{
687687
CGRect bound = weakSelf.bounds;
688688
// Send the Resulting Image to the Sample Buffer
689-
if (weakContext && weakCoreImageContext && weakGlkView != nil && CGRectIsNull(bound) == NO && weakSelf.window != nil)
689+
if (weakSelf.forceStop == NO && weakContext && weakCoreImageContext && weakGlkView != nil && CGRectIsNull(bound) == NO && weakSelf.window != nil)
690690
{
691691
[weakCoreImageContext drawImage:image inRect:bound fromRect:image.extent];
692692
[weakContext presentRenderbuffer:GL_RENDERBUFFER];

0 commit comments

Comments
 (0)