Repository navigation
libobs: characterize and extract the video stop traversal - #4099
Merged
Merged
Conversation
|
Claim conflict: keep this PR out of the merge queue until resolved.
|
This was referenced Nov 9, 2026
zackees
force-pushed
the
port/4098-video-stop-requested
branch
from
November 9, 2026 01:49
0c08e63 to
ef47019
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Nov 9, 2026
This was referenced Nov 11, 2026
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.
Refs #4098 (native child of #444).
Extract
stop_requestedverbatim fromobs-video.c.hintoobs-video-stop-requested.c.hin the same unity group. Add C-source characterization for every stopped/running vector over zero through four mixes, query order after a running output, and the real mutex held across all queries and released before return. No behavior, signature, public header or existing C test changes.Hold for graph serialization. Do not enable auto-merge. This PR adds the test to
test/cmocka/build/test-graph.json. It is the C-only prerequisite that testing-policy.md requires to land before the Rust RED/GREEN port; it deliberately does not close #4098. The source-only test does not exercise a future Rust swap; the existing video lifecycle Tier 2 tests remain required for that port.Validation:
1 != 2). Production source stayed unchanged.SOLDR_PORCELAIN=0 ./lint: exit 0 in 171.8 s. Its initial graph-order failures were fixed and both focused ordering checks pass.-Werrorretained; the Clang replay omits GCC-only-Wno-error=maybe-uninitializedand-Wno-stringop-overflow).test_video_stop_requestedtarget passes with C-reference and hybrid library paths (0.09 s each). This remains C-source characterization, as documented above.No Rust tests or binaries added. Rust RED/GREEN, the C oracle and actual Rust-swap Tier 2 belong to the follow-up after this prerequisite lands. Tier 4 is inapplicable to this private non-protocol helper. No user-visible behavior changes, so no features-ledger entry.
Fixup for the failed Windows/claim checks (worker-pool fix-4099):
220040044(origin/masterat session start). The three original PR commits are unchanged bygit range-diff; replaced remote head was0c08e63ba66b665011e082a7f40934b610bbc5df, pushed with that exact force-with-lease.test_video_stop_requested.c:14because MSVC C headers do not definemax_align_t(C2061/C2059, followed by cascading undeclared-identifier errors). A focusedsoldr cc --target win-x64probe reproducesunknown type name max_align_t(exit 1).ef470199d: uselong doublestorage for the four opaque identity tokens. They are never dereferenced; every assertion, vector, mutex call, and production source stays unchanged. The replacement token compiles against the Windows MSVC-target headers (exit 0). GCC 15.2 and Clang 21.1.8 compile and run the complete characterization with-Werror(31 vectors each). This does not claim a complete native Windows build or full Tier 2 suite pass.timeout 1200 env SOLDR_PORCELAIN=0 ./lint: exit 0,lane lint: ok (405.6s). Raw log:/home/niteris/.clud/tmp/tool-output/local-test-private/local-test-pGFnYZ.log.