Repository navigation
frontend: translate legacy macOS encoder ids through the platform facade (#883) - #1977
Merged
Merged
Conversation
…ade (#883) AdvancedOutput calls TranslateLegacyEncoderId() (platform.hpp) for its stream and record encoders; platform-osx renames vt_h264_hw/sw to the VideoToolbox ids as before, the Windows and X11 hosts leave the id alone. AdvancedOutput.cpp.hpp has no host conditional left.
zackees
force-pushed
the
infra/883-encoder-id
branch
from
October 23, 2026 21:23
8057860 to
9551ea0
Compare
zackees
enabled auto-merge
October 23, 2026 21:23
This was referenced Oct 23, 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 #883 (step 3 of 5: the last 2 conditionals in
AdvancedOutput.cpp.hpp).AdvancedOutput::AdvancedOutputrenamed oldvt_h264_hw/vt_h264_swprofile ids to the VideoToolbox ids with a static helper under__APPLE__. It now callsTranslateLegacyEncoderId(streamEncoder)/(recordEncoder)fromplatform.hpp.platform-osx.mm.hpphas the same body, moved unchanged; Windows and X11 leave the id alone, as before.test_legacy_encoder_ids_are_translated_by_the_host. Locally:FAILED (failures=1).AdvancedOutput.cpp.hppdrops out of the baseline../lint: ok. The macOS file selects the macOS lane.Tiers 1-4 don't apply. Not user-visible.