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

SimpleMovieFilter when run demo crash how to do #320

Open jsonwang opened 3 years ago

jsonwang commented 3 years ago

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

basilmariano commented 3 years ago

Same issue here

jifang commented 3 years ago

https://github.com/BradLarson/GPUImage2/issues/226

jinzhedu commented 2 years ago

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.