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

Resolution change race #122

Open
any1 opened this issue Oct 8, 2024 · 0 comments
Open

Resolution change race #122

any1 opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@any1
Copy link
Owner

any1 commented Oct 8, 2024

A race occurs between the encoder and the main thread when changing resolution.

If the encoder is already encoding something when the resolution change happens, a frame of a wrong size can be sent right after the resolution has changed. That frame needs to be dropped.

@any1 any1 added the bug Something isn't working label Oct 8, 2024
@any1 any1 added this to the v0.9.0 milestone Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant