BradLarson / GPUImage3

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

AVSampleBufferDisplayLayer() is not returning after kill an GPUImage3 application #60

Open joohae-kim opened 4 years ago

joohae-kim commented 4 years ago

I have an application which is displaying video stream. in the application AVSampleBufferDisplayLayer() is using to display separate video I found AVSampleBufferDisplayLayer() is not return for 10 minutes at least when I kill the application after start capturing with following code

      phoneCamera = try Camera(sessionPreset: .vga640x480)
      phoneCamera.runBenchmark = false
      phoneCamera --> renderView
      phoneCamera.startCapture()

I took the code from the sample code it happens iOS iPhone 13.x only the problem is not happened on iOS 12.x or iOS iPad 13.x

Thanks!