Skip to content

rust: Port the output start routing in obs-output.c to obs-output #2522

Closed

Description

@rdoupe

Rust port, round 9 unit 3: the output start and begin-capture routing in libobs/obs-output.c.h, moved to obs-output.

Scope

Rust takes over these decisions:

  • obs_output_start: no data, "already starting", the service gate (in its order), delayed or actual start, and the "starting" signal on success;
  • obs_output_actual_start: which steps run after info.start;
  • obs_output_initialize_encoders: the encoded gate, the active case, and which encoders are initialized by flag;
  • begin_delayed_capture: the delay-capturing refusal;
  • reset_raw_output: the audio conversion fill (rate, format and speakers each taken only when set);
  • obs_output_begin_data_capture_internal: delayed, already active, raw reset, capture check, pairing, service activation, and which signal ends it.

C keeps the stopping-event wait, every atomic load and store at its place, info.start, the frame counts, the caption track reset under its mutex, the service calls, the delay start, encoder initialization and the last-error copy, pair_encoders, hook_data_capture, the batch size, the raw audio buffer clear, pause_reset, and every signal and log.

Plan

The standard six commits:

  1. move;
  2. characterization test;
  3. Tier 1 RED;
  4. GREEN in a libobs.ported-* group;
  5. Tier 3 parity;
  6. docs.

Activity

  1. added
    ready
    on Oct 26, 2026
  2. rdoupe commented on Oct 26, 2026

    @rdoupe
    CollaboratorAuthor

    Claiming: #2522 (round 9 unit 3, output start routing).

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

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions