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 deinterlace frame selection in obs-source-deinterlace.c to obs-source #2315
Rust port, round 8 unit 1: the deinterlace frame selection in libobs/obs-source-deinterlace.c.h, moved to obs-source::deinterlace_select.
Scope
Rust takes over these decisions:
ready_deinterlace_frames: the unbuffered path, plus the buffered walk with its drops, tolerance stop and re-anchor;
first_frame;
the take in deinterlace_get_closest_frames;
the deinterlace_update_async_video choice: upload, swap or nothing.
C keeps async_mutex, the frame erasure and cache release, the prev_frame writes, and every texture call. The walk becomes "snapshot, decide, apply", with each drop erased then released in the original order.
Plan
The standard six commits:
move to obs-source-deinterlace-select.c.h;
characterization test;
Tier 1 RED;
GREEN in libobs.ported-source-deinterlace-select;
Tier 3 parity;
docs.
Existing real-libobs coverage: test_deinterlace_2x_field_order, test_deinterlace_mode_load, test_media_restart_stale_frame and test_media_restart_first_frame.
Activity
rdoupe commentedon Oct 25, 2026
Claiming: #2315.
libobs: Move the deinterlace frame selection
test: Characterize the deinterlace frame selection
obs-source: Test the deinterlace_select port
obs-source: Port the deinterlace frame selection
obs-source: Check deinterlace_select against the C
docs: Record the deinterlace frame selection port
obs-source: Port the deinterlace frame selection (obs-rust#2329)