Skip to content

bug: obs-media-io: reject duplicate inputs after scaler reentry #1529

Closed

Description

@zackees

Location

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.

Activity

  1. zackees commented on Oct 20, 2026

    @zackees
    MemberAuthor

    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.

  2. added
    claimed
    on Oct 20, 2026
  3. zackees commented on Oct 20, 2026

    @zackees
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions