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
test: Extract and characterize encoder frame-rate divisor alignment before Rust swap #5314
C-only Phase 6 prerequisite for obs_encoder_align_frame_rate_divisor in libobs/obs-encoder.c.h, before a separate Rust swap to obs-output. Follow the merged extraction pattern of #5307 and #5272.
Extract the complete function behavior-neutrally into its own .c.h in sorted unity group O. Preserve the exact static receive_video function address: video-io identifies an input by callback pointer and encoder pointer. Keep the extraction in the same translation unit with a declaration of that static callback. Add a portable C characterization proving NULL encoder/media and divisors below two make no call, and all other cases make exactly one call with the original media, timestamp, registered callback identity and encoder.
Acceptance: RED then GREEN; new immutable C characterization, tests.d pointer and sorted canonical test graph; native/source inventories agree; whole native_build::, focused Linux Tier 2 new target and EVERY *_rust target, full lint once, and forced-ref merge-tree checks against overlapping PRs including #5246 and #5280. No Rust, link-support files, public-header edits, existing C-test edits, WebSocket changes or workflow additions. File the separate swap follow-up. Priority P2; small, ready prerequisite with no dependency on #5246.
Claiming: encoder frame-rate divisor alignment prerequisite in pool slot obs-studio5; branch test/5314-encoder-align-divisor. 1. Characterize no-call guards and exact callback/encoder identity with RED evidence. 2. Extract only this C function in sorted O group, preserving receive_video address, then validate native inventories, every Linux *_rust target and lint. 3. Merge-tree overlapping PRs, publish READY if backpressure permits and file the Rust-swap follow-up. First PR expected this session.
Landed on master in #5333 (0f5f3e1): the encoder frame-rate divisor alignment is extracted and characterized, and the receive_video callback identity is preserved. The Rust swap is #5331.
Activity
zackees commentedon Nov 20, 2026
Claiming: encoder frame-rate divisor alignment prerequisite in pool slot obs-studio5; branch test/5314-encoder-align-divisor. 1. Characterize no-call guards and exact callback/encoder identity with RED evidence. 2. Extract only this C function in sorted O group, preserving receive_video address, then validate native inventories, every Linux *_rust target and lint. 3. Merge-tree overlapping PRs, publish READY if backpressure permits and file the Rust-swap follow-up. First PR expected this session.
test: keep encoder alignment callback identities distinct under ICF (…
zackees commentedon Nov 20, 2026
Landed on master in #5333 (0f5f3e1): the encoder frame-rate divisor alignment is extracted and characterized, and the receive_video callback identity is preserved. The Rust swap is #5331.
libobs: characterize and extract encoder frame-rate divisor alignment…