Repository navigation
obs-scene: Port the scene item names and coordinate keys - #2129
Merged
Merged
Conversation
Behaviour-neutral extraction before the Rust port. The name tables and
the coordinate-key choice of scene_load_item() and scene_save_item() in
obs-scene.c.h move to libobs/obs-scene-item-names.c.h, declared in the
new libobs/obs-scene-item-names.h without EXPORT (hidden, as
-fvisibility=hidden keeps them):
- obs_scene_item_scale_filter_from_name(),
obs_scene_item_blend_method_from_name() and
obs_scene_item_blend_type_from_name(): the value a saved name loads
as. obs-scene.c.h passes libobs's astrcmpi() as the compare, which is
called as before: (name, known) for each known name in the old order,
stopping at the first match, and not at all for NULL. NULL or any
other name loads as Disable, Default or Normal, as before. Taking the
compare as a parameter keeps the one astrcmpi implementation for the
port: the Rust side calls whatever libobs passes, so rust/obs-scene
needs no obs-util objects (whose system libraries would break the
obs-scene _rust test links).
- obs_scene_item_scale_filter_name(), obs_scene_item_blend_method_name()
and obs_scene_item_blend_type_name(): the name a value is saved
under, a static string, with the old fallbacks ("disable", "default",
"normal").
- obs_scene_item_transform_keys() and obs_scene_item_bounds_keys():
read the relative keys, the absolute keys converted, or the absolute
keys as they are (enum obs_scene_item_keys).
- obs_scene_item_save_relative(): write the relative keys (and the
absolute ones for older versions) or the absolute keys alone.
obs-scene.c.h keeps every obs_data_* call in its order, the coordinate
conversions (obs-scene-coords.c), the source lookup, the transitions,
the private settings and the crop clamp of obs-rust#1840, and stores the results
in the item.
One read changed: obs_data_has_user_value() of "pos_rel", "scale_rel"
and "scale_ref" is now asked for all three, in that order, before the
choice, where the old && chain stopped at absolute coordinates or at the
first missing key. It is a plain lookup in item_data with no side
effect, and "bounds_rel" is still asked where it was.
The enum values cross as int, so the header needs only stdbool.h;
obs-scene.c.h checks at compile time that the mirrored scale filter,
blend method and blend type values match obs.h.
The new file joins libobs.core-source with libobs.pch.h, which includes
the new header. The exported symbol sets are unchanged (1766).
Refs obs-rust#2114
test_scene_item_names_steps compiles libobs/obs-scene-item-names.c.h
(ASan and UBSan, no libobs core) and calls only its hidden functions,
so it runs on every platform. 14 cases, all calling the loaders with
libobs's astrcmpi() as obs-scene.c.h does:
- the loaders: every scale filter, blend method and blend type name in
lower, upper and mixed case;
- unknown names load as Disable, Default and Normal: the empty string,
a trailing or leading space, a tab or newline after the name, a name
cut short or one byte long, "srgb-off", the saver's own fallback names
("disable", "default", "normal"), NULL, and bytes above 0x7F (lone
0x80 and 0xFF, UTF-8 look-alikes such as a dotted capital I, a
no-break space and a zero-width space);
- each table knows only its own names; numbers are names, not values
(characterized, not endorsed);
- the compare's calls, through a recording wrapper around astrcmpi():
(name, known) for each known name in the C's order, stopping at the
first match, every known name for an unknown one, none for NULL;
- the savers: every value of each enum, and -1, one past the last,
INT_MIN and INT_MAX (the fallbacks); every value from -2 to 8 loads
back as itself inside the enum and as the default outside it;
- the transform and bounds keys for all 16 patterns of pos_rel,
scale_rel, scale_ref and bounds_rel, with and without absolute
coordinates; bounds_rel is read without the transform's three keys
(characterized, not endorsed); the save choice; the key values and
that the enum is int-sized.
It is in the native test graph, in the core suite, so no pinned count
changes. It reports failures with fprintf(stderr, ...) and fail(), not
fail_msg(), and uses no assert_in_range; it needs no libm. It passes
14/14 on the C backend, and builds with -Werror and passes 14/14
against cmocka 2.0.2 and 1.1.7. The real-libobs scene tests
are unchanged.
Refs obs-rust#2114
RED for the port of libobs/obs-scene-item-names.c.h to a new item_names module of rust/obs-scene. The safe core is a stub (todo!()), one function per hidden C function: scale_filter_from_name(), blend_method_from_name() and blend_type_from_name() over Option<&CStr> (None is the C's NULL) and the compare the caller gives (C passes libobs's astrcmpi); scale_filter_name(), blend_method_name() and blend_type_name() giving a &'static CStr; transform_keys() and bounds_keys() giving a Keys (Relative, FromAbsolute, Absolute); and save_relative(). The enum values and the three name tables, in the C's order, are constants. tests/scene/item_names.rs ports test_scene_item_names_steps 1:1: its 14 cases under the same names (steps_*), in the same order, with the same inputs and expectations, the characterized-not-endorsed cases included. Like the C test, it gives the loaders astrcmpi: obs-util's, the one the hybrid libobs passes (obs-util is already a dev-dependency of the obs-tests-core binary). Edge cases (edge_*): the tables' shape (lower-case ASCII names, distinct names and values, none the default, each saved under its own name); every upper/lower-case spelling of every name; every name with one byte changed to any other byte, cut short, or with any byte added at either end; the keys' invariants over all 16 patterns; and two proptests (4000 cases each): the loaders against a model (the first table entry equal with ASCII case folded, and the compares made: the table up to and including that entry) over any byte string with no NUL, biased towards the names, and the savers over any i32. The tests are a module of obs-tests-core (rust/obs-data/tests/core.rs), as the other obs-scene units' are. soldr cargo test -p obs-data --test obs-tests-core scene::item_names fails 19 of 20 with "not yet implemented"; steps_key_values, which checks only the Keys discriminants and calls no stub, passes. Refs obs-rust#2114
Ports libobs/obs-scene-item-names.c.h, the name tables and the coordinate-key choice of scene_load_item() and scene_save_item(), to the item_names module of rust/obs-scene. scene_load_item() and scene_save_item() stay C in obs-scene.c.h: every obs_data_* call in its order, the coordinate conversions (obs-scene-coords.c), the source lookup, the transitions, the private settings and the crop clamp of obs-rust#1840. The hybrid libobs drops the C file and links the Rust shims in its place. Safe core (src/item_names.rs), one function per hidden C function: - scale_filter_from_name(), blend_method_from_name() and blend_type_from_name(): the first entry of the table, in the C's order, that the given compare finds equal to the name, else Disable, Default or Normal. The compare is asked as (name, known) and not past the first match; None (the C's NULL) is the default without a compare. - scale_filter_name(), blend_method_name() and blend_type_name(): a match over the enum value giving a &'static CStr, with the C's fallbacks ("disable", "default", "normal") for any other i32. - transform_keys() and bounds_keys(): Relative when the coordinates are not absolute and every relative key is there, FromAbsolute when they are not absolute, Absolute otherwise; save_relative(). Values from the item are i32, compared as they are. The module denies clippy's arithmetic, indexing, as, unwrap, expect, panic, unimplemented and unreachable lints, allocates nothing, keeps no state and takes no lock. astrcmpi: the loaders call the compare C passes, which obs-scene.c.h gives as libobs's own astrcmpi (in the hybrid, obs-util's Rust one). So the case rules stay one implementation, called the same number of times in the same order, and rust/obs-scene still depends on no obs-util code. Calling obs-util's astrcmpi from the crate was tried first: its archive member pulls in obs-util objects that need libuuid, and every obs-scene _rust test (test_scene_bounds_place_rust, test_scene_item_crop_rust, test_scene_render_plan_steps_rust and the new one) failed to link. Shim (src/ffi/scene_item_names.rs): the nine functions with the C signatures. The loaders read the name through &CStr and call the C compare with the name's own pointer and a static known name; the savers return the &'static CStr's pointer, so nothing is allocated. Keys cross as the C's enum values. No item pointer crosses. C side: the file leaves libobs.core-source for its own group, libobs.ported-scene-item-names (LIBOBS_PORTED_SOURCES), whose PCH has only obs-scene-item-names.h; libobs.pch.h keeps the header for obs-scene.c. The functions are not EXPORT, so the shims are hidden: rust-hidden.txt, the local: list of rust-exports.map and rust-unexports-macos.txt. libobs-rust already links the crate's ffi. ci/test_ported_sources.py checks the group on every host. The exported symbol sets are unchanged and equal (1766 on the C backend, the hybrid and libobs-c-reference). test_scene_item_names_steps still compiles the C file into itself, unchanged. The new test_scene_item_names_steps_rust builds the same test source against libobs_rust-static, after OBS::libobs (for astrcmpi), as test_transition_clock_steps_rust does. The real-libobs scene tests see the swap through the hybrid. Tier 1 scene::item_names passes 20/20. Refs obs-rust#2114
…t the C Oracle (oracle/scene_item_names.c): the original obs-scene-item-names.c.h, unmodified, with its nine functions renamed to oracle_*, plus the size of enum obs_scene_item_keys, its values and the mirrored scale filter, blend method and blend type values (19 values). The loaders take the compare as a parameter, so the oracle needs no renamed astrcmpi of its own. Tier 3 (tests/scene/item_names_parity.rs, 9 tests). The value runs give the shims obs-util's astrcmpi (what the hybrid passes) and the oracle the C dstr.c's (oracle_astrcmpi, what libobs-c-reference passes), so they compare the two libraries' whole name match. The compare runs give both sides one recording compare and check that they ask it the same questions in the same order: the name's own pointer and each known name's bytes, stopping at the first match, none for NULL. - the enum values and constants against the C header; - exhaustive: the transform and bounds keys and the save choice over all 16 patterns of the four relative keys, with and without absolute coordinates; the three savers over every value from -4096 to 4096 and the ends of i32 (names compared byte for byte); the loaders over NULL, every string of one or two bytes (65,280 strings), every upper/lower case spelling of every name (the savers' 15 names, fallbacks included), every name with one byte changed to any other byte, cut short, or with any byte added at either end, and the characterization's other names; the compares for all of them but the two-byte strings; - proptests (10,000 cases each): the loaders, values and compares, over arbitrary byte strings with no interior NUL (biased towards the names, their case and up to two bytes changed), and the savers over any i32. The module passed 4 runs in a row with fresh seeds. obs-util's astrcmpi and the C one agree on every byte tried, those above 0x7F included. Mutation check (done once, not committed): 22 mutants, 16 in the core and 6 in the shim; all fail. | Mutant | Tier 1 | Tier 3 | |---|---|---| | scale: bilinear loads as bicubic | 4 | 2 | | scale: area loads as Disable | 4 | 2 | | blend type: darken misspelt | 5 | 4 | | blend method: sRGB off the default | 6 | 5 | | load: table tried in reverse | 2 | 4 | | load: NULL compared as "" | 1 | 1 | | load: compares past the first match | 2 | 2 | | load: byte compare instead of the given one | 6 | 4 | | save: Area saved as "Area" | 2 | 1 | | save: blend type fallback "default" | 1 | 2 | | save: any non-zero method is sRGB off | 3 | 2 | | save: Disable saved as "" | 2 | 2 | | keys: scale_ref ignored | 2 | 1 | | keys: absolute converted too | 3 | 1 | | keys: bounds need the transform keys | 2 | 1 | | save: relative inverted | 2 | 1 | | keys: Relative = 3 in the core enum | 1 | 0 | | shim: FromAbsolute and Absolute swapped | 0 | 1 | | shim: compare arguments swapped | 0 | 4 | | shim: <= 0 for == 0 | 0 | 4 | | shim: blend method and type loaders swapped | 0 | 4 | | shim: name copied to a new string for the compare | 0 | 4 | Tier 1 does not reach the shims, and "Relative = 3" changes only the core enum's discriminant, which the shim maps to the C value explicitly, so Tier 3 does not see it. "table tried in reverse" and "compares past the first match" give the same values (the names are distinct) and are caught by the compare order. The proptest regression files keep the seeds the mutants failed on. Refs obs-rust#2114
The rust/README.md crate table now lists libobs/obs-scene-item-names.c.h among the rust/obs-scene units, and its port table has a row for it: the nine functions, what stays C (every obs_data_* call in its order, the coordinate conversions, the source lookup, the transitions, the private settings and the obs-rust#1840 crop clamp), the one read that changed (the three has_user_value lookups asked before the choice), why the loaders take the compare as a parameter (one astrcmpi, and no obs-util object in the obs-scene _rust links), the compile-time checks, what the characterization pins and the port keeps, the _rust variant of the steps test, the real-libobs tests that see the swap and what Tier 3 compares. The crate's description and lib.rs say what it holds. docs/rust-port/naming.md already maps libobs/obs-scene*.c.h to rust/obs-scene. No docs/features.md line: no user-visible change. port_comparison gets its own bench file, benches/port_comparison/scene_item_names.rs, for 16 items: the three loaders and both key choices (load), and the three savers (save), each folded into a checksum both sides must match. Each loader gets its library's astrcmpi. On x86_64 Linux (GCC, pinned to one core, load average near 20, so noisy; medians per 16 items, two runs): load 3.25 / 2.35 us Rust against 1.68 us / 896 ns C, save 164 / 67 ns against 370 / 194 ns. Given the C astrcmpi too, the Rust load is 932 ns against 902 ns: the load gap is obs-util's astrcmpi, which the hybrid already uses for every astrcmpi call before this port, not the table logic. About 90 ns per item on scene collection load. Fixes obs-rust#2114
This was referenced Oct 24, 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.
Fixes #2114
What and why
This PR ports the scene item save/load name tables and the coordinate-key choice of
scene_load_item()andscene_save_item()inlibobs/obs-scene.c.hto a newitem_namesmodule ofrust/obs-scene, next tocrop(#1947) andrender_plan(#2018). A wrong table here would silently reset the scale filter or blend mode of every item on load, so each value is pinned on both sides.What stays C: every
obs_data_*call, in its order; the coordinate conversions (obs-scene-coords.c.h, already ported); the source lookup; the transitions; the private settings; and the crop clamp on load (#1840, unchanged). The hybrid libobs drops the C file and links the Rust shims in its place.astrcmpi. The names are still matched with
astrcmpi, through one implementation. The loaders take the compare as a parameter, andobs-scene.c.hpasses libobs's ownastrcmpi; in the hybrid, that isobs-util's Rust one. The Rust table logic calls it in the same order and the same number of times as the C did:(name, known)for each known name, stopping at the first match, and not at all forNULL.Calling
obs_util::dstr::astrcmpifrom the crate was tried first. It broke the link of everyobs-scene_rusttest:test_scene_bounds_place_rust,test_scene_item_crop_rust,test_scene_render_plan_steps_rustand the new one. The archive member that holds it pulls inobs-utilobjects that needlibuuid, which is the problem theaudio_actionsrow ofrust/README.mddescribes.So
rust/obs-scenestill depends on noobs-utilcode. ItsCargo.tomlis unchanged except for the description.Move (
libobs: Move the scene item names and coordinate keys out, no behaviour change). The tables and the key choice move tolibobs/obs-scene-item-names.c.h. They are declared withoutEXPORTinobs-scene-item-names.h:obs_scene_item_scale_filter_from_name(),obs_scene_item_blend_method_from_name()andobs_scene_item_blend_type_from_name(): the value a saved name loads as, or Disable, Default or Normal. They take the name and the compare (obs_scene_item_name_cmp,astrcmpi's signature).obs_scene_item_scale_filter_name(),obs_scene_item_blend_method_name()andobs_scene_item_blend_type_name(): the name a value is saved under, a static string, with the C's fallbacks (disable,default,normal).obs_scene_item_transform_keys()andobs_scene_item_bounds_keys(): read the relative keys, the absolute keys converted, or the absolute keys as they are (enum obs_scene_item_keys).obs_scene_item_save_relative(): write the relative keys (and the absolute ones for older versions), or the absolute keys alone.One read changed.
obs_data_has_user_value()ofpos_rel,scale_relandscale_refis now asked for all three, in that order, before the choice. The old&&chain stopped at absolute coordinates or at the first missing key. It is a plain lookup initem_datawith no side effect.bounds_relis still asked where it was.The enum values cross as
int, so the header needs onlystdbool.h.obs-scene.c.hchecks at compile time that the mirrored scale filter, blend method and blend type values matchobs.h. The file joinslibobs.core-source. The exported symbol count is unchanged (1766).Characterization (
test_scene_item_names_steps, 14 cases). It compiles the moved file with ASan and UBSan, needs no libobs core, and runs on every platform. Likeobs-scene.c.h, it gives the loaders libobs'sastrcmpi. It pins:NULL;NULL;INT_MINandINT_MAX; every value from -2 to 8 loads back as itself inside the enum and as the default outside it;pos_rel,scale_rel,scale_refandbounds_rel, with and withoutabsolute_coordinates, and the save choice."1"loads as Disable);bounds_relwithout the position's three relative keys.test/cmocka/build/test-graph.json, in the core suite, so no pinned count changes. It reports failures withfprintf(stderr, ...)andfail(), notfail_msg(). It uses noassert_in_rangeand needs no libm. It builds with-Werrorand passes 14/14 with cmocka 2.0.2 and with 1.1.7.Safe core (
src/item_names.rs): one function per hidden C function.equal(name, known).None(the C'sNULL) gives the default without a compare.matchgiving a&'static CStr.KeysisRelative,FromAbsoluteorAbsolute.i32, compared as they are.as,unwrap,expect,panic,unimplementedandunreachablelints. It allocates nothing and uses nounsafe.Shim (
src/ffi/scene_item_names.rs): the nine functions, with the C signatures.&CStrand call the C compare with the name's own pointer and a static known name.&'static CStr's pointer, so nothing is allocated, andobs_data_set_string()copies it as it copied the C literal._rustvariant:test_scene_item_names_steps_rustruns the unchanged test source againstlibobs_rust-static. It linksOBS::libobsfirst, soastrcmpicomes from libobs and the archive gives only the hidden functions, astest_transition_clock_steps_rustdoes. It is intests.d/test_scene_item_names_steps.cmake, insideif(TARGET libobs_rust-static).C side:
libobs.core-sourcefor its own group,libobs.ported-scene-item-names, listed underLIBOBS_PORTED_SOURCES. Its PCH has onlyobs-scene-item-names.h.libobs.pch.hkeeps the header forobs-scene.c.ci/test_ported_sources.pychecks the group on Linux, Windows and macOS.Symbols:
rust-hidden.txt, in thelocal:list ofrust-exports.map, and inrust-unexports-macos.txt.nmshows all nine as local (t) in all three libraries.ninja -t queryshows that the hybrid does not link the C group and that the c-ref does;addr2lineputs the c-ref's inobs-scene-item-names.c.h.Oracle (
oracle/scene_item_names.c): the original file, unmodified, with its nine functions renamed tooracle_*. It also exports the size and values ofenum obs_scene_item_keysand the mirrored constants (19 values).Docs:
rust/README.mdrows (crate table and port table), the crate's Cargodescriptionand thelib.rsdocs are updated.docs/rust-port/naming.mdrow (libobs/obs-scene*.c.h) already covers the file.docs/features.mdline: there is no user-visible change.port_comparison (its own file,
benches/port_comparison/scene_item_names.rs): 16 items, shim against oracle. Each side's loaders get their own library'sastrcmpi.loadcovers the three loaders and both key choices;savecovers the three savers. Pinned to one core, with a load average near 20, so noisy. Medians from two runs:load/16save/16With the C
astrcmpion both sides,load/16is 932 ns against 902 ns. So the load gap comes fromobs-util'sastrcmpi, which the hybrid already uses for everyastrcmpicall before this PR, not from the table logic. That is about 90 ns per item when a scene collection loads.No intentional differences. Every input has defined C behaviour (values outside each enum take the C's fallback), so the parity test excludes nothing.
Seen while porting, not changed here:
soldr cargo bench -p obs-c-oracle --bench port_comparison -- --test <anything>fails onorigin/master(a63f715ac, andfae97a8e3before it). Thebmem/countfixture assert sees 16 against 0. The fixtures are all checked before the filter applies, so every unit's--testrun stops there; thescene_item_namesbenches are measured and pass before it. It is not caused by this PR: it fails the same way with this bench's call removed, and on a cleanorigin/mastercheckout.astrcmpi(util/dstr.c.h) passes a plainchartotoupper(), which is undefined for bytes above 0x7F in standard C. glibc defines it, and the hybrid uses the Rust one. Only the C backend and libobs-c-reference reach it, and the characterization's high bytes pass there on Linux.RED → GREEN
16d9c8411obs-scene: Add the scene item names and coordinate keys tests. The core istodo!().soldr cargo test -p obs-data --test obs-tests-core scene::item_namesfails 19 of 20 with "not yet implemented", run onbda1e1d01, the same commit before the rebases (identical tree contents for these files). The one that passes issteps_key_values: it checks only theKeysdiscriminants and calls no stub.tests/scene/item_names.rs) ports the 14 cases oftest_scene_item_names_stepsone for one, under the same names (steps_*), with the same values and expectations. Like the C test, it gives the loadersastrcmpi:obs-util's, whichobs-tests-corealready depends on.i32.obs-tests-core. No new test binary.b13efe523obs-scene: Port the scene item names and coordinate keys.scene::item_namespasses 20/20.01b6dc6a0obs-scene: Check the scene item names and coordinate keys port against the C(tests/scene/item_names_parity.rs, 9 tests).What is compared:
obs-util'sastrcmpi(what the hybrid passes) and the oracle the Cdstr.c's (oracle_astrcmpi, what libobs-c-reference passes), so they compare the two libraries' whole name match.Runs:
i32;NULL, every string of one or two bytes (65,280 strings), every case spelling of the 15 names, and every one-byte change, cut and addition to them;i32.It passed 4 runs in a row with fresh seeds.
obs-util'sastrcmpiand the C one agree on every byte tried, those above 0x7F included.proptest-regressions/item_names.txtanditem_names_parity.txtkeep the seeds the mutants failed on.Mutation check (done once, not committed). All 22 mutants fail:
NULLcompared as"""Area""default"""scale_refignoredRelative = 3in the core enum<= 0for== 0Tier 1 does not reach the shims.
Relative = 3changes only the core enum's discriminant, which the shim maps to the C value explicitly, so only Tier 1 sees it. "table tried in reverse" and "compares past the first match" give the same values, because the names are distinct; the compare-order checks catch them.OBS_LIBOBS_BACKEND=C, andHYBRIDwithOBS_BUILD_C_REFERENCE=ON.Xvfb -noreseton a free display, a private D-Bus, a fresh HOME, no core dumps, andTMPDIRunset.libobs-c-referencetarget is not inall, so it was built by name before each c-ref run, and its mtime was checked.9b5b8c57b, on1cddf78da.obs-scene.c.h, away from these lines). Only therust/README.mdcrate row conflicted: master's rows were kept, and this unit was added to theobs-scene/row.9b5b8c57bitself:ninja libobs-c-referenceby name, mtime checked);ci/checks below;--test-diffand the lint lane.a5c2e8737, ona63f715ac, which differs from the final series only by a type alias intests/scene/item_names.rs, folded into the RED commit for the lint lane;bda1e1d01, the same tree contents as16d9c8411for these files.--lane crossran on87ffcec02, the final series ona63f715ac.source-sets.json,test-graph.json, the export lists,test_ported_sources.pyand the bench list were diffed by hand againstorigin/master. They show only this PR's lines.removedflag) also touchedobs-scene.c.h, at line 2072 inobs_scene_add_internal(). It has merged, and this branch is on top of it. The two do not overlap.Full ctest on
a5c2e8737; the focused sets and the exported symbols on9b5b8c57b.OBS_LIBOBS_BACKEND=CHYBRID,OBS_BUILD_C_REFERENCE=ONHYBRID,OBS_BUILD_C_REFERENCE=ONtest_scene_blend,test_scene_item_crop_load(libobs: Clamp loaded scene item crops and saturate the crop and group size casts #1840),test_scene_duplicate_scale_ref,test_saved_transition,test_scene_item_names_steps(14/14), andtest_scene_item_names_steps_rust(hybrid builds only, 14/14). No case was skipped.test_config_hex_float_rounding's comma-locale case (no such locale is installed) andopen_crashes_without_obs_coreintest_audio_ioand intest_video_io.a63f715ac) passes the focused set on the C lane: 5/5, 36 cases, no skips.soldr cargo test -p obs-data --test obs-tests-core scene::item_namespasses 29/29 (20 Tier 1, 9 Tier 3).uv run ci/local_gate.py --test-diff origin/masterpasses 3319/3319 (on9b5b8c57b). The 4 skipped are the existing#[ignore]tests (an NVIDIA driver, and three slow exhaustive runs).--lane lintand--lane crosspass.ci/test_build_groups.py,ci/test_ported_sources.py,ci/test_oracle_standins.py,ci/test_sorted_shared_lists.py,ci/test_test_graph_sorted.py,ci/test_cmocka_rust_static_guard.pyandci/test_cmocka_windows_diagnostics.pypass.soldr cargo bench -p obs-c-oracle --bench port_comparison -- --test scene_item_names: the fourscene_item_namesbenches pass, then the run stops at thebmem/countfixture assert, as onorigin/master(see above).Windows/macOS: not built there.
stdbool.h.test_scene_item_names_stepsbuilds the moved file on every platform. It uses nofail_msg()and no libm.test_scene_item_names_steps_rustfollowstest_transition_clock_steps_rust:OBS::libobs, then the archive.Checklist
master(or the description starts with a Stacked: note)docs/features.mdis added or updated (not applicable: no user-visible change)-W..., ratchets): built with scripting ON (PR CI builds no OBS app: rungh workflow run ci.yml --ref <branch>for the full builds) and cross-checked with clang and MSVC (not applicable: no warning or flag change)