Skip to content

Fix native crash #495#498

Open
act262 wants to merge 3 commits intocats-oss:masterfrom
act262:fix_495
Open

Fix native crash #495#498
act262 wants to merge 3 commits intocats-oss:masterfrom
act262:fix_495

Conversation

@act262
Copy link
Copy Markdown

@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
Copy Markdown

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