Repository navigation
Conversation
This was referenced Nov 25, 2026
zackees
force-pushed
the
port-5724-get-color-space
branch
from
November 26, 2026 10:58
1daa4ec to
ecf6608
Compare
Tier 1 cases in obs-tests-core (rust/obs-source/tests/source/get_color_space.rs) on a traced model of what obs_source_get_color_space() reaches: data_valid() first (NULL logs once, no data answers GS_CS_SRGB), then the field read and the route, the parent or target asked again from the top, the async pick against convert_video_space(), or the callback (GS_CS_SRGB without one). They run against a todo!() core: test result: FAILED. 2 passed; 11 failed not yet implemented: #5724 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Safe core obs-source::get_color_space::get over a Libobs trait: data_valid() (NULL logs one LOG_DEBUG line; NULL or no data answers GS_CS_SRGB), the field read and color_space::route, the filter parent or target asked again from the top (the C recursed; a loop makes the same calls in the same order), the async pick against convert_video_space(), or the video_get_color_space callback (GS_CS_SRGB without one). - C ABI in ffi/source_get_color_space.rs through the new private adapters of libobs/obs-source-get-color-space-fields.c.h (live core-source group, no EXPORT); struct obs_source is not mirrored. - The body moves verbatim (with a private data_valid() copy, as obs-source-media-getters.c.h does) to libobs/obs-source-get-color-space.c.h in the reference-only group libobs.ported-source-get-color-space; rust-exports.d lists the EXPORT name. - Tier 3 get_color_space_parity.rs: the original C over the original C routing vs the Rust export on noise-filled real-header sources with acyclic links: answer, every callback call (source, count, list pointer), log lines, every byte; pinned cases and a proptest. A callback-default mutant is rejected. - The test-only stand-in in oracle/source_transition_video_links.c goes: the Rust export defines the name in the test binaries now. - obs-build registration test and a rust/README.md row. Tier 2 unchanged: test_source_color_space_steps, test_filter_color_space, test_scene_color_space. Co-Authored-By: Claude Opus 5.5 <[email protected]> Client-Checks: {"checks":{"base":"152c528e41cbfc33e0a17189d18f7ca81191937b","coverage":"all-tracked-applicable-files","diff":["libobs/build/libobs.core-source+.h.c","libobs/build/libobs.ported-source-get-color-space+.h.c","libobs/build/ported-source-sets/source-get-color-space.json","libobs/cmake/rust-exports.d/obs-source-source_get_color_space.txt","libobs/obs-source-get-color-space-fields.c.h","libobs/obs-source-get-color-space.c.h","libobs/obs-source.c.h","rust/README.md","rust/obs-build/tests/native.rs","rust/obs-build/tests/native/registration/canonical_source_get_color_space_swap_is_registered.rs","rust/obs-c-oracle/oracle.d/source-get-color-space.list","rust/obs-c-oracle/oracle/source_get_color_space.c","rust/obs-c-oracle/oracle/source_transition_video_links.c","rust/obs-source/src/ffi/mod.rs","rust/obs-source/src/ffi/source_color_space.rs","rust/obs-source/src/ffi/source_get_color_space.rs","rust/obs-source/src/get_color_space.rs","rust/obs-source/src/lib.rs","rust/obs-source/tests/source/get_color_space.rs","rust/obs-source/tests/source/get_color_space_parity.rs","rust/obs-source/tests/source/main.rs"],"head":"45579f11a10b85513121e726c38934814e62ab28","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21503\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"2d3f9cac1eb91a995aa8097ba43bbcb2833f0033b89b55e2449d3e78ac3c60f8","tree":"67325feae828ceaa95d29aadf0dd5c35b6715502"}} Ci-Attestation: {"at":1795690276,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["985bb11956ca74d3c5fb1d8a5fbd85db8ef2742a"],"secs":124,"stamp":"409c8ded1a67e9ede5b9be0276e2d540","tree":"67325feae828ceaa95d29aadf0dd5c35b6715502","v":1,"via":"run"} Ci-Attestation: {"at":1795690276,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["985bb11956ca74d3c5fb1d8a5fbd85db8ef2742a"],"secs":124,"stamp":"42952d6f0b2445e61e04e8b71807713d","tree":"67325feae828ceaa95d29aadf0dd5c35b6715502","v":1,"via":"run"} Ci-Attestation: {"at":1795690276,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["985bb11956ca74d3c5fb1d8a5fbd85db8ef2742a"],"secs":124,"stamp":"21aebbed387f8c9bac19eaf3069f297f","tree":"67325feae828ceaa95d29aadf0dd5c35b6715502","v":1,"via":"run"} Ci-Attestation: {"at":1795690276,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["985bb11956ca74d3c5fb1d8a5fbd85db8ef2742a"],"secs":124,"stamp":"4c8a6a4dab7ddc280e42a1c2c7fe9a36","tree":"67325feae828ceaa95d29aadf0dd5c35b6715502","v":1,"via":"run"} Ci-Attestation: {"at":1796411072,"gate":"general/all/client-lint","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"30118140d2bf4d821bc1adc3108ee3c4","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1795690276,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["985bb11956ca74d3c5fb1d8a5fbd85db8ef2742a"],"secs":124,"stamp":"df6e1edb57ee9931c9867f6a59b1c191","tree":"67325feae828ceaa95d29aadf0dd5c35b6715502","v":1,"via":"run"} Ci-Attestation: {"at":1796411076,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"0c70c878b513afbec4afbbfb58e706c2","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411076,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"ec98434c2d6047618b5f1a93505e8f07","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411074,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"2e70532d882141dbcda47278eb220c2c","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411075,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"e515ab7657c6facbf9aec8b00cc64dcc","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411073,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"9c40cec64873655c6c51097b36961035","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411074,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"4bf39ca63422eba38e9bf8099ad7a669","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411075,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"24422c4764f3fabbf0c6f49b18423452","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411076,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"3031fb0316b03556aa594abef812cc46","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411074,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"ab084d5a5c11af4f8f45b23180113af6","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411074,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"0af7071f4c5f0b7a91211479b391e178","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411072,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"cb756c031770b2e1b8488f11ea9bb7a4","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1796411073,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"075567b4481a8164eb6e8e1f9413ecdd87de38ff2264ff39f1c04bfaa9e2b611","lane":"client-lint","parents":["0cb220699199d9b0b729a1ed29405be28fa469f2"],"secs":708,"stamp":"06797619e6323b27f466e97adec648ab","tree":"7efa996fb89499b3e417a8315cbc5cc19c8bde60","v":1,"via":"run"} Ci-Attestation: {"at":1795690715,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"27a2540365948bbf5bc03b9f40998dda5172a3964aae6dd10f15bbf036263119","lane":"client-test-x86_64-unknown-linux-gnu","parents":["985bb11956ca74d3c5fb1d8a5fbd85db8ef2742a"],"secs":438,"stamp":"8b6a93b350020b0f4502283d26a9f884","tree":"67325feae828ceaa95d29aadf0dd5c35b6715502","v":1,"via":"run"}
zackees
force-pushed
the
port-5724-get-color-space
branch
from
December 4, 2026 19:04
ecf6608 to
706dc73
Compare
…roup (Refs #5724) Ci-Attestation: {"at":1796427105,"gate":"general/all/client-lint","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"7d8c88b9db5e8ccc1f31687361736ea0","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427107,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"ce91ddd8b0fdfc6c211ea1ce3a1a1b44","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427107,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"27ca34df38910daf42b7aff98ac99ec3","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"6a6c39c633b3b412f1c64dc45312f065","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"2108eee5213cc51bacf505adcd8123b0","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"ba85a2d6859d132c5b32ce6a9d20d3af","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"a9c21feed1a2a9dd0a879620862e839e","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"56ed1d6eb9f20a784c533381f0c4a737","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"accd3564d4b6074fd0f4baebf8deafd0","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"0e30f62498389b548ff6082a363e1d04","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427106,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"a9b2c3da92a1d51fc7d9ff17259fb141","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427105,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"e2c574b2a877edad9e1e2b3299616d72","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"} Ci-Attestation: {"at":1796427105,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"ca46259ade8255f95ff8cce529b990819f47e62b5a460d8bbf822ee1cc440f20","lane":"client-lint","parents":["706dc7394181a5c803ab46d014d66f0013012115"],"secs":243,"stamp":"9952973a24e1b81531d32b2b7ca828d5","tree":"c4e5312d764542a54a35bbd01ccbe7d69fdce7f9","v":1,"via":"run"}
This branch has not been deployed
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.
Uh oh!
There was an error while loading. Please reload this page.