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: transition swap can still store a cycle (hang) #2499
Follow-up to #2486 / #2487 (found while fixing them, reproduced with a probe on top of #2498).
obs_transition_swap_begin() (copy_source_state()) still stores a source in the destination transition's slot when obs_source_add_active_child() fails because of a cycle (the destination transition is inside that source). #2497 fixes the active flag, but the slot still holds the cycle. Showing the scene afterwards walks into the transition again and re-locks its mutex: the probe (swap, then show the scene) hung past 5 seconds. The audio thread's walk can likely hit the same hang.
Fix: when the add fails in copy_source_state(), store nothing in that slot (release the reference), matching #2498's refusal in obs_transition_set().
Activity
rdoupe commentedon Oct 26, 2026
Claiming: #2499 (after #2497 and #2498).
libobs: Leave swapped slot empty on cycle (obs-rust#2513)