Repository navigation
obs-output: Port public encoder scaling-enabled getter (#3926) - #3927
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
November 7, 2026 19:34
zackees
enabled auto-merge
November 7, 2026 19:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3926; Refs #3856.
Ports only the public scaling-enabled getter to Rust. Preserves the NULL false result and exact debug diagnostic, either-axis scaling for audio and video encoders, and unchanged encoder state. The safe core reuses the existing size helper. A new borrowed field-address adapter avoids mirroring the private encoder layout. Oracle calls use the original C and its oracle-renamed size helper; log probes receive callbacks.
Status: GREEN cc3a83b is pushed. The workspace formatter check (
cargo fmt --all --checkvia soldr) passed on it in the manager session, after full serial lint had passed.Commit sequence:
Validation:
Test cost: 25 debug runs per new module; safe API under 0.01 seconds and 11,648 KiB RSS; parity at most 0.01 seconds and 16,492 KiB; registration at most 0.04 seconds and 10,448 KiB. No own threads; one isolated logging child process. No new Rust executable.
Public headers, existing C tests and WebSocket are unchanged. The new C characterization remains unchanged after its first commit. No intended behavior change or features-ledger entry. Tier 4 is inapplicable. Not verified locally: full Tier 2 suite, native Windows and macOS, and hosted CI. No local-gate attestation.