GPUImage2
GPUImage2 copied to clipboard
SimpleMovieFilter when run demo crash how to do
Main Thread Checker: UI API called on a background thread: -[UIView layer] PID: 626, TID: 80844, Thread name: (none), Queue name: com.sunsetlakesoftware.GPUImage.processingQueue, QoS: 0 Backtrace:
.......... Fatal error: View had a zero size: file /Users/ak/Desktop/akbranches/音视频相关 Demo/GPUImage2-master/framework/Source/Apple/RenderView-UIKit.swift, line 73
Same issue here
https://github.com/BradLarson/GPUImage2/issues/226
That is because the render view in SimpleMovieFilter project doesn't have top and bottom constraints. Adding the constraint in the main storyboard can solve this.