You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: Port the encoder connection lifecycle in obs-encoder.c to Rust #2512
Rust port, round 9 unit 6: the encoder callback and connection lifecycle decisions in libobs/obs-encoder.c.h, moved to Rust.
Scope
Rust takes over these decisions:
obs_encoder_start_internal: no data or no media, first callback, whether the callback is added, and the keyframe request for a video encoder that gains an output while running;
obs_encoder_stop: whether the callback was found, whether it was the last, and whether the group is destroyed;
add_connection / remove_connection: audio connect, GPU encode or raw video, and the encoder group steps (LCM start, started count, ready, reset when the last one stops), shutdown only when asked;
gpu_encode_available: the texture cap and the mix's NV12/P010 textures;
full_stop: which outputs are force-stopped, and the early return for a texture encoder;
send_packet / send_first_video_packet: first video packet or plain, the keyframe wait, and whether SEI is prepended.
C keeps every mutex (init, callbacks, outputs, group), the darrays, the callback walk (C passes its result), audio connect and disconnect, GPU and raw video start and stop, the audio and video info, lcm, the ready-group add, shutdown, set_encoder_active, pause_reset, request_keyframe, the force stop, get_mix_for_video and the SEI copy.
Activity
rdoupe commentedon Oct 26, 2026
Claiming: #2512 (round 9 unit 6; posts after #2511).
obs-output: Port the encoder lifecycle decisions (obs-rust#2521)