Skip to content

shared: Move ipc-util, media-playback and inject-library platform code into platform files - #981

Merged
zackees merged 1 commit into
masterfrom
facade/886-shared-leftovers
Oct 16, 2026
Merged

zackees merged 1 commit into
masterfrom
facade/886-shared-leftovers

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #886 (part of #847).

All six files leave ci/platform-ifdef-baseline.json (7 conditionals moved, 6 vendored excluded).

Local: ratchet ok, ./lint ok; Tier 2 OFF: every media-playback test (test_media_*, test_ffmpeg_restart_close, which compile these headers) passes. That run hit test_deinterlace_2x_field_order (real-time video cadence, #838), so the harness stopped before ON. PR CI runs both; ci-full is set so the Windows MSVC build compiles the pragma wrappers, the inline alias and the renamed inject-library.

…e into platform files

media-playback: the MSVC warning push/disable 4244 4204/pop around the
ffmpeg includes in decode.h and media.h moves, with exactly those
includes, into platform-decode-ffmpeg.h and platform-media-ffmpeg.h, so
the pragmas still cover only ffmpeg's headers (not a CMake /wd that
would reach every consumer file).

ipc-util: pipe.h's MSVC inline alias moves into platform-pipe-compat.h
(top) and the pipe-windows.h/pipe-posix.h dispatch into platform-pipe.h
(end of pipe.h, same position).

inject-library: inject-library.c is Windows-only (win-capture) and is
renamed inject-library-windows.c, no code change.

The ratchet excludes the vendored shared/obs-d3d8-api/; the baseline
drops all six files.

Refs #886
@zackees zackees added the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 16, 2026
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit db3fd0e Oct 16, 2026
28 checks passed
@zackees
zackees deleted the facade/886-shared-leftovers branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

facade: shared/ipc-util, media-playback, obs-inject-library: 7 platform conditionals (+ d3d8 vendored note)

1 participant