Skip to content

fix: eliminate video playback flicker during resolution changes #2307

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

peilinok
Copy link
Contributor

@peilinok peilinok commented May 8, 2025

https://developer.android.com/reference/android/graphics/SurfaceTexture#setDefaultBufferSize(int,%20int)

For OpenGL ES, the EGLSurface should be destroyed (via eglDestroySurface), made not-current (via eglMakeCurrent), and then recreated (via eglCreateWindowSurface) to ensure that the new default size has taken effect.

https://blog.csdn.net/wzw88486969/article/details/138485679

@peilinok peilinok merged commit 8efae11 into release/6.3 May 8, 2025
28 of 29 checks passed
@peilinok peilinok deleted the fix/release/6.3 branch May 8, 2025 07:16
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