Skip to content

libobs: Transition audio leaves out a removed child after the audio stop (#2185) - #2256

Merged
zackees merged 2 commits into
masterfrom
fix/2185-transition-removed-child
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/2185-transition-removed-child

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Fixes #2185

RED (b7c7b81): test_transition_removed_child_audio starts a crossfade to a removed source and counts audio ticks that mix the removed child after the audio thread stops the transition. The test skips when the video thread stops it first. A strict probe on RED failed with: stop ticks: 1, with audio from the removed child: 1.

GREEN (1ed87f0): obs_transition_audio_render drops removed children (transition_live_sources) on both reads, including the re-read after the stop.

Local Tier 2 (clean build, because of #2244's stale deps): GREEN passes, and 20/20 repeats of the test pass in both libobs builds. The other local failures (deinterlace field order, async delay audio) are the usual unrelated ones.

Tiers: Tier 2 test added. Tier 1/3 don't apply: this is C-only libobs code with no Rust port.

@zackees
zackees enabled auto-merge October 24, 2026 23:04
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit 760f8e6 Oct 24, 2026
35 checks passed
@zackees
zackees deleted the fix/2185-transition-removed-child branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

libobs: Transition audio can take its timestamp from a removed child after the audio stop

1 participant