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 output total-byte callback query before Rust swap #5203
C-only prerequisite for the Phase 6 output callback query, later targeting obs-output.
Extract obs_output_get_total_bytes verbatim from libobs/obs-output.c.h:1048-1059 into libobs/obs-output-total-bytes-query.c.h in the existing libobs/build/libobs.core-output+.h.c group. Keep delay_active and delay_capturing available through exact same-group declarations or a minimal private seam. No Rust or public-header changes.
The existing test_encoder_output_getters_characterization.c covers ordinary and NULL queries but not the callback/delay matrix. Leave it unchanged. Add a portable real-private-header fixture covering invalid output returning zero, missing callback returning zero, active delay without capture returning zero without dispatch, and all other combinations forwarding the exact callback/data and full 64-bit result. Preserve guard and read order.
Acceptance: characterize original C first; commit extraction-contract RED then behavior-neutral GREEN; add the tests.d pointer and sorted canonical test graph; keep source inventories and sorted unity membership consistent. Run the whole native_build module, new and unchanged getter tests against reference/hybrid with export parity, every Linux standalone *_rust cmocka target, Windows MSVC and Darwin link checks, and repository lint. No existing C-test edits, public-header edits, WebSocket edits or new workflow files.
File a separate Rust-swap follow-up after this prerequisite is published. It will need safe-core mirrors, real-header layout tests, original-C differential/mutation coverage and real adapter link support in every standalone Rust-static consumer. No new Rust test executable.
Decisions: P2 / port / size:S / ready. No functional prerequisite; this is a behavior-neutral preparation unit. Refresh open-PR footprints and serialize conflicting queued graph/output-group changes before publication.
Claiming: output total-byte callback query prerequisite, pool slot fix5159. 1. Add the missing original-C callback/delay matrix without editing existing tests. 2. Commit extraction-contract RED then verbatim C extraction GREEN, preserving guard/read order. 3. Validate native_build, focused reference/hybrid Tier 2 plus every *_rust target, MSVC/Darwin links and lint; publish when backpressure permits. First PR expected this session.
Activity
zackees commentedon Nov 19, 2026
Claiming: output total-byte callback query prerequisite, pool slot fix5159. 1. Add the missing original-C callback/delay matrix without editing existing tests. 2. Commit extraction-contract RED then verbatim C extraction GREEN, preserving guard/read order. 3. Validate native_build, focused reference/hybrid Tier 2 plus every *_rust target, MSVC/Darwin links and lint; publish when backpressure permits. First PR expected this session.
zackees commentedon Nov 19, 2026
Landed on master in #5207 (f99a921): obs_output_get_total_bytes is characterized across its full guard matrix and extracted. The Rust swap is #5208.
libobs: characterize and extract output total-byte callback query (Refs