Skip to content

rust: Port scene-item transition save/load to obs-scene after extraction #4281

Closed

Description

@zackees

Phase 6: port obs_sceneitem_transition_load and obs_sceneitem_transition_save to obs-scene after prerequisite #4280 lands. Currently these live at libobs/obs-scene.c.h:3898-3930. The prerequisite will move them verbatim into libobs/obs-scene-item-transition-serialization.c.h and add C characterization.

Dependencies: #4280 must merge first. Do not combine extraction and Rust replacement. The transition setters already have separate active work (#4183/#4188); reuse their stable interface and do not collide with those branches.

Test plan: port all characterization assertions 1:1 into the existing core-state Rust category binary (obs-data / obs-tests-core), add RED todo stubs then GREEN safe-core implementation with thin FFI, an original-C oracle and differential/mutation coverage, unchanged C tests against reference/hybrid libobs and symbol parity. Add source-creation/load round trips with registered real transitions and replacement/clear reference-lifetime coverage before considering the port complete; the initial prerequisite fixture characterizes save and empty-ID load without starting core video. Preserve public headers and compiled-plugin ABI. Tier 4 applies only if protocol behavior changes.

No Rust implementation found by git grep of origin/master rust/*.rs excluding obs-sys and obs-c-oracle. This issue reserves the serialization functions only, not scene transition setters/getters or unrelated scene helpers.

Activity

  1. added
    enhancement
    port
    P2
    size:S
    on Nov 9, 2026
  2. zackees commented on Nov 9, 2026

    @zackees
    MemberAuthor

    Claiming: scene-item transition serialization Rust swap on branch port/4281-scene-item-transition-serialization, stacked on test/4280-scene-item-transition-serialization-extract at 0aa23fb. 1. Add direct C characterization for registered transitions, source creation/load round trips, and replacement/clear lifetimes. 2. Commit RED Rust tests, then safe core and thin FFI with original-C differential coverage. 3. Validate and push branch only; no PR until the queue drains. Branch handoff expected this session.

  3. github-actions commented on Nov 9, 2026

    @github-actions

    Claim bot: @zackees, this can't be claimed yet: it is blocked by 1 open issue(s) (see "Blocked by" on the issue); claim it once they close.

  4. rdoupe commented on Nov 19, 2026

    @rdoupe
    Collaborator

    Done in #4495 (merged 2026-11-10): scene-item transition load/save come from obs-scene.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2enhancementportsize:S

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions