Skip to content

Conversation

@GoingtoRock
Copy link

@GoingtoRock GoingtoRock commented Dec 7, 2017

AVPlayerItemVideoOutput property inside GPUImageMovie sets videoProcessingQueue as a delegate, so when GPUImageMovie is deallocating, AVPlayerItemVideoOutput won't release then the crash occurs. To fix it, we need to make sure that AVPlayerItemVideoOutput is released properly when the process ends. Hence the following codes are provided at the end of endProcessing method.

References:
#1994
https://stackoverflow.com/questions/29103254/copy-helper-block-crash-in-avfoundation

AVPlayerItemVideoOutput property inside GPUImageMovie sets videoProcessingQueue as a delegate, so when GPUImageMovie is deallocating, AVPlayerItemVideoOutput won't release then the crash occurs. To fix it, AVPlayerItemVideoOutput needs to be released when the process ends. Hence the following codes are provided at the end of endProcessing method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant