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

Ensure VideoWriter frame size is cached per subscription #1468

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

glopesdev
Copy link
Member

This PR resolves a subtle issue with VideoWriter parallelism where the frame size of the writer was cached at the class level. The cache has now been moved to the per-subscription disposable instance, ensuring that multiple subscriptions can be safely created over the same operator.

Fixes #1467

@glopesdev glopesdev added the fix Pull request that fixes an issue label Jul 14, 2023
@glopesdev glopesdev added this to the 2.8 milestone Jul 14, 2023
@glopesdev glopesdev merged commit 95bedc8 into bonsai-rx:main Jul 14, 2023
2 checks passed
@glopesdev glopesdev deleted the issue-1467 branch July 14, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VideoWriter drops frames when using multiple subscriptions with different frame resolutions
1 participant