Skip to content

Search for the openh264 soname on macOS - #28

Merged
dkmstr merged 1 commit into
masterfrom
fix/macos-openh264-library-name
Sep 1, 2026
Merged

Search for the openh264 soname on macOS#28
dkmstr merged 1 commit into
masterfrom
fix/macos-openh264-library-name

Conversation

@dkmstr

Copy link
Copy Markdown
Contributor

The installer writes the dylib as libopenh264.8.dylib, the soname FreeRDP's load command requires, but the loader only ever looked for libopenh264.dylib. The path never existed, the system-wide fallback missed it too, and webcam H264 silently degraded to MJPEG on every Mac.

Collapse the per-OS path and fallback lists into a single LIB_NAMES table so the two cannot drift apart again, and cover the macOS list with the soname. Linux already listed its versioned sonames; macOS did not.

The installer writes the dylib as libopenh264.8.dylib, the soname FreeRDP's
load command requires, but the loader only ever looked for libopenh264.dylib.
The path never existed, the system-wide fallback missed it too, and webcam
H264 silently degraded to MJPEG on every Mac.
Collapse the per-OS path and fallback lists into a single LIB_NAMES table so
the two cannot drift apart again, and cover the macOS list with the soname.
Linux already listed its versioned sonames; macOS did not.
@dkmstr
dkmstr merged commit 606b042 into masterSep 1, 2026
2 checks passed
@aschumann-virtualcable
aschumann-virtualcable deleted the fix/macos-openh264-library-name branch September 1, 2026 15:24
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dkmstr@aschumann-virtualcable