BradLarson / GPUImage2

GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing.
BSD 3-Clause "New" or "Revised" License
4.85k stars 605 forks source link

Error "Argument type 'RenderView.Type' does not conform" when trying tutorial in xcode 8.3 #200

Closed mahdidham closed 6 years ago

mahdidham commented 6 years ago

I just try your example code in your description below:

do {
    camera = try Camera(sessionPreset:AVCaptureSessionPreset640x480)
    filter = SaturationAdjustment()
    camera --> filter --> renderView
    camera.startCapture()
} catch {
    fatalError("Could not initialize rendering pipeline: \(error)")
}

but there is an error in camera-->filter-->renderView Message:

Argument type 'RenderView.Type' does not conform to expected type 'ImageConsumer'

mahdidham commented 6 years ago

i close this issue because there is some mistakes.