You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: obs-media-io: reject duplicate inputs after scaler reentry #1529
rust/obs-media-io/src/video_output.rs, commit e1d2bf080 in #1462.
Class
Reentrant callback logic error.
How it is reached
Creating a video scaler reenters connect via a callback and registers the same input twice. Recheck duplicates when inserting the newly created scaler.
Proposed fix and failing test
Carry scaler_creation_reentry_does_not_duplicate_input and its focused fix from #1462; show RED on current master and GREEN after the change.
Decisions
Split from #1462 as requested by the maintainer. This intentionally corrects callback reentry behavior in Rust; ordinary nonreentrant delivery retains the C baseline.
Claiming: split this fix from #1462. 1. Reproduce the callback regression. 2. Carry the individual fix and run media tests. 3. Open and land one PR today.
Fixed and merged in #1534. Scaler creation rechecks duplicate callback/parameter registrations, so one disconnect removes the input after reentry. The regression also passed 100 consecutive local runs after combining the shared video tests. No remaining work for this issue.
Activity
zackees commentedon Oct 20, 2026
Claiming: split this fix from #1462. 1. Reproduce the callback regression. 2. Carry the individual fix and run media tests. 3. Open and land one PR today.
zackees commentedon Oct 20, 2026
Fixed and merged in #1534. Scaler creation rechecks duplicate callback/parameter registrations, so one disconnect removes the input after reentry. The regression also passed 100 consecutive local runs after combining the shared video tests. No remaining work for this issue.
obs-media-io: reject duplicate inputs after scaler reentry (obs-rust#…