Skip to content

libobs: Reset the interleaver batch limit per capture (#487) - #704

Merged
zackees merged 2 commits into
masterfrom
fix/487-interleave-batch-size
Oct 14, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/487-interleave-batch-size

Conversation

@zackees

@zackees zackees commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Fixes #487
Refs #686

Fix by @chriscoveries (from chriscoveries/obsrust-fork fix/interleave-batch-size-reset), cherry-picked with -x, authorship kept.

calculate_batch_size() never reset interleaver_max_batch_size, so a restarted output kept the previous capture's catch-up limit.

RED → GREEN

  • RED: test: ... (RED) commit. test_output_interleave_restart needs core video, so it skips without DISPLAY in PR CI (no Tier 2 lane sets a display; the sanitizers workflow that does is dispatch-only), like test_encoding_lag_rescale. The RED/GREEN evidence is therefore local: Under xvfb-run in the linux-validate image, OFF and ON: catch_up_above_limit and catch_up_limit_resets_on_restart FAILED.
  • GREEN: same xvfb run, 1/1 passed OFF and ON. rust/tools/linux-validate/run.sh: 196/196 OFF and ON, exported symbols IDENTICAL (1766). ./lint ok.

@zackees
zackees merged commit 8de72dd into master Oct 14, 2026
21 checks passed
@zackees
zackees deleted the fix/487-interleave-batch-size branch October 26, 2026 15:44
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.

bug: libobs: the output interleaver batch limit grows on every restart of the same output

2 participants