Open act262 opened 4 years ago
When onPreviewFrame size change , old glRgbBuffer size small new size, cause yuv decode error and render texture mistake.
Firstly use front camera, that use small size for preview, then switch back camera, that use bigger size. if no crash so here fix.
All committers have signed the CLA.
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