android-gpuimage icon indicating copy to clipboard operation
android-gpuimage copied to clipboard

Fix native crash #495

Open act262 opened this issue 4 years ago • 1 comments

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

act262 avatar Jun 02 '20 06:06 act262

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 02 '20 06:06 CLAassistant