Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix native crash #495 #498

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix native crash #495 #498

wants to merge 3 commits into from

Conversation

act262
Copy link

@act262 act262 commented Jun 2, 2020

What does this change?

When onPreviewFrame size change , old glRgbBuffer size small new size, cause yuv decode error and render texture mistake.

What is the value of this and can you measure success?

Firstly use front camera, that use small size for preview, then switch back camera, that use bigger size. if no crash so here fix.

Screenshots

@CLAassistant
Copy link

CLAassistant commented Jun 2, 2020

CLA assistant check
All committers have signed the CLA.

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.

3 participants