Skip to content

bug: obs_transition_swap_begin copies an active flag after a failed add #2486

Closed

Description

@rdoupe

Follow-up to #2484 (found while fixing it, reproduced with a scratch probe on master).

obs_transition_swap_begin() copies slot A's active flag to the destination transition even when obs_source_add_active_child() on that transition fails (a cycle: the destination transition's source contains the transition). After a swap into a transition that the scene contains, the next obs_transition_set() removes the active references the scene's other parent holds, the same loss as #2484 (activate/show counts drop to 0, and the scene's sources get deactivate and hide while still on the program output).

Fix: when the add fails during the swap, leave the destination slot inactive, as #2485 does for obs_transition_set().

Activity

  1. rdoupe commented on Oct 26, 2026

    @rdoupe
    CollaboratorAuthor

    Claiming: #2486 (posts after #2485).

  2. added
    ready
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions