Skip to content

test: Retire the obs_output_set_video_encoder2 stand-ins that pin pre-#2495 behaviour #2500

Closed

Description

@zackees

#2495 fixed obs_output_set_video_encoder2() so it decides on the stored slot. The stand-in copies of the old caller still pin the old behavior ('characterized, not endorsed'):

  • test/cmocka/test_output_slots_steps.c: e2e_video, e2e_video_preferred_size
  • rust/obs-output/tests/output/output_slots.rs (Tier 1)
  • the stand-in sequences in output_slots_parity.rs (Tier 3)

They never call the real function, so they still pass but describe code that no longer exists. Retire them, or rewrite them to the fixed caller, with maintainer sign-off on the C test change, as for #2289. Acceptance: no stand-in describes the pre-fix caption-track or NULL-size behavior, and test_output_slot_stored_encoder still passes on all three lanes.

Activity

  1. added
    P3
    size:S
    on Oct 26, 2026
  2. zackees commented on Oct 26, 2026

    @zackees
    MemberAuthor

    Claiming: #2500. Maintainer sign-off for the C test edit given in session: rewrite the stand-ins to the fixed caller from #2495 (C test_output_slots_steps.c, Rust Tier 1 output_slots.rs, Tier 3 output_slots_parity.rs), one PR.

  3. added
    ready
    on Oct 26, 2026
  4. zackees commented on Oct 26, 2026

    @zackees
    MemberAuthor

    Fixed by #2507: the stand-ins in test_output_slots_steps.c, output_slots.rs and output_slots_parity.rs now decide on the stored slot, as #2495's caller does. No stand-in describes the pre-fix caption-track or NULL-size behaviour any more, and test_output_slot_stored_encoder passes.

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

Metadata

Metadata

Assignees

Labels

P3readysize:S

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions