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

6.0.0 sources performance improvement tweaks #1079

Merged
merged 9 commits into from
Aug 15, 2024
Merged

Conversation

paulpv
Copy link
Member

@paulpv paulpv commented Aug 15, 2024

source: avoid config comparisons in receiver loop == improve performance

The receiver loop no longer does heavy config change comparisons.
Any config change is now determined in the main UI thread
that then sets a bool reset_ndi_receiver for the receiver loop
to quickly reset itself.

Also resetting if hw_accel_enabled is changed.

PTZ and Tally are still calculated in the receiver loop, but only if they are enabled.

The receiver loop no longer does heavy config change comparisons.
Any config change is now determined in the main UI thread
that then sets a `bool reset_ndi_receiver` for the receiver loop
to quickly reset itself.

Also resetting if hw_accel_enabled is changed.

PTZ and Tally are still calculated in the receiver loop, but only if they are enabled
@paulpv paulpv self-assigned this Aug 15, 2024
@paulpv paulpv changed the title 6.0.0 sources tweaks 6.0.0 sources performance improvement tweaks Aug 15, 2024
@paulpv paulpv merged commit 591a58e into 6.0.0_actual Aug 15, 2024
6 checks passed
@paulpv paulpv deleted the 6.0.0_sources_tweaks branch August 15, 2024 19:55
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