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_transition_set accepts a source that contains the transition (hang) #2487
Follow-up to #2484 (found while fixing it, reproduced with a scratch probe on master).
obs_transition_set() stores a source in slot A even when that source contains the transition (a cycle). obs_transition_load() refuses such a source, but set does not. While slot A holds it, any walk of that source's active tree enters the transition again and locks the transition's mutex a second time: obs_source_inc_showing(scene) did not return within 5 seconds. The audio thread's walk of the output channel would most likely hang the same way (not run).
Fix: refuse the cycle in obs_transition_set() the same way obs_transition_load() does (log, and leave the slot as it was), so the hang can't be reached.
Activity
rdoupe commentedon Oct 26, 2026
Claiming: #2487 (posts after #2485).
test: Check obs_transition_set refuses a cycle
libobs: Refuse a cycle in obs_transition_set
libobs: Refuse a cycle in obs_transition_set (obs-rust#2498)