BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.21k stars 4.61k forks source link

Applying fix for GPUImageUIElement #2568

Open r-dent opened 6 years ago

r-dent commented 6 years ago

Allowing to update the UI Element from outside of frameProcessingCompletionBlock. See: https://github.com/BradLarson/GPUImage/issues/2211#issuecomment-197210701

I must admit, that i do not completely unterstand why this works. But it solved my problem and apparently worked for some other people, too. Regarding the mentioned issue. I did not run into unwanted side-effects as of now.

Please review and point out if this is okay or if not, why.