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
libobs: characterize and extract encoder output-list add/remove pair #5313
Characterize and extract the internal output-list pair obs_encoder_add_output and obs_encoder_remove_output from libobs/obs-encoder.c.h:1513-1531 before a separate Rust swap. Phase 6 prerequisite, Lane A; no behavior or ABI change.
Scope: add a focused cmocka C-source test using the real private layouts, pin append order, outputs mutex protection, first-match removal, absent removal, every NULL encoder/output combination and duplicate pointers. Move both current bodies verbatim into libobs/obs-encoder-outputs.c.h, include it alphabetically in the core-output unity group, and register every applicable CMake/Cargo-native source set and canonical test graph entry. Compile the whole test with strict conversion warnings where feasible. Do not modify existing C tests, public headers or held Rust-static support files.
No existing characterization or Rust implementation was found (only documentation in output_slots.rs). Open PR diffs were searched for both symbols and encoder source overlap; #5246/#5280 remove weak-reference functions after this unit, without changing this pair. The large #4655 diff was checked locally after GitHub refused its oversized diff. Follow the most recent merged encoder extraction #5215 and file the subsequent four-tier Rust swap as a separate issue.
Claiming: encoder output-list characterization/extraction on branch test/5313-encoder-outputs. 1. Pin current C append, first-match removal, absent/NULL/duplicate and outputs-mutex behavior. 2. Commit extraction RED then move the pair verbatim and register canonical/native builds GREEN. 3. Validate, open the prerequisite PR this session and file the separate Rust swap issue. No held support files or weak-reference edits.
Done in #5317 (merged 2026-11-20): both functions are characterized and extracted to libobs/obs-encoder-outputs.c.h, which unblocks the Rust swap in #5315.
Activity
zackees commentedon Nov 20, 2026
Claiming: encoder output-list characterization/extraction on branch test/5313-encoder-outputs. 1. Pin current C append, first-match removal, absent/NULL/duplicate and outputs-mutex behavior. 2. Commit extraction RED then move the pair verbatim and register canonical/native builds GREEN. 3. Validate, open the prerequisite PR this session and file the separate Rust swap issue. No held support files or weak-reference edits.
libobs: extract encoder output-list pair verbatim (Refs #5313)
rdoupe commentedon Nov 20, 2026
Done in #5317 (merged 2026-11-20): both functions are characterized and extracted to libobs/obs-encoder-outputs.c.h, which unblocks the Rust swap in #5315.
libobs: characterize and extract encoder output-list pair (Refs obs-r…