     // MARK: Capture Image
 
     public var isCapturingImage: Bool {
-        imageOutput.isCapturingStillImage || isSilentCapturingImage
+        stillImageOutput.isCapturingStillImage || isSilentCapturingImage
     }
 
     public var captureLimitSize: CGSize = .zero

        if let c = self.captureVideoPreviewView, c.session != nil {
            c.session = nil
        }
        sessionQueue.async {
            captureVideoPreviewView.session = self.captureSession
        }
        self.captureVideoPreviewView = captureVideoPreviewView
    }


            } else {
                videoOrientation = .portrait
            }
            stillImageOutputCaptureConnection.videoOrientation = videoOrientation
            self.captureSession.commitConfiguration() // defer より前のタイミングで commit したい

            self.stillImageOutput.captureStillImageAsynchronously(from: stillImageOutputCaptureConnection) { (imageDataBuffer, error) -> Void in
                guard let imageDataBuffer = imageDataBuffer, let data = AVCaptureStillImageOutput.jpegStillImageNSDataRepresentation(imageDataBuffer) else {
                    onMainThreadAsync {
                        completion(nil, nil)
