Repository navigation
obs-ffmpeg: muxer output host code behind obs-ffmpeg-mux-host.h (#853) - #2023
Merged
Merged
Conversation
obs-ffmpeg-mux-host.h with stub Windows/macOS/POSIX hosts in per-OS unity
groups; test_obs_ffmpeg_mux_host_{macos,posix} fail against the stubs.
The helper's executable name and the Windows Defender hint move into
obs-ffmpeg-mux-host-{windows,macos,posix}; win-version.h leaves the mux
PCH for the Windows host's. The cross check compiles the Windows and macOS
hosts. Baseline: two obs-ffmpeg entries (3) to 0.
zackees
force-pushed
the
facade/853-mux-host
branch
from
October 24, 2026 02:03
8f742b1 to
14d050f
Compare
zackees
marked this pull request as ready for review
October 24, 2026 02:19
zackees
enabled auto-merge
October 24, 2026 02:19
) test_encoder_error_stop, test_ffmpeg_mux_unwritable_path, test_output_filename_reserve and test_replay_buffer_pause_stop compile obs-ffmpeg-mux.c directly; they now also compile its POSIX host, the way #1625 added the VST host's include path. The test sources are unchanged.
Member
Author
|
CI caught a link failure: four existing Linux tests ( |
This was referenced Oct 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #853 (slice 1 of 4:
obs-ffmpeg-mux). Same pattern as #882.ffmpeg_mux_host_exe_name():obs-ffmpeg-mux.exeon Windows,obs-ffmpeg-muxelsewhere (was theFFMPEG_MUXmacro).ffmpeg_mux_host_warn_defender(): true on Windows 10 and later (get_win_ver), false elsewhere. It decides whether "unable to write" errors add the Defender hint.util/windows/win-version.hmoves from the shared mux PCH to the Windows host's PCH.obs-ffmpeg-mux-host-{windows,macos,posix}.c.hwith its own unity group and PCH.cmake/crosscompiles the Windows and macOS hosts.obs-ffmpeg-mux.pch.h(1) andobs-ffmpeg-mux.c.h(2) go to 0.RED (first commit):
test_obs_ffmpeg_mux_host_{macos,posix}(Tier 2) fail against the stub hosts. The Windows host includeswin-version.h, so the cross check compiles it rather than a Linux test.GREEN:
./lintpasses (ifdef ratchet included) andci/test_cross_sources.pypasses. Local: both new tests pass andcmake/cross/docker.sh win-x64 mac-arm64exits 0. Local Tier 2 also failed two deinterlace tests (test_deinterlace_pacing_steps,test_deinterlace_2x_field_order) that this PR does not touch; #1995 changed both and passed CI, so the local build tree was stale. PR CI is authoritative here.Tiers 1/3/4 do not apply (C build-structure refactor, no behavior change).