Skip to content

codec2: restore legacy sync fence ABI - #54

Open
pbzin wants to merge 1 commit into
crdroidandroid:16.0from
pbzin:agent/codec2-legacy-sync-fence-abi
Open

codec2: restore legacy sync fence ABI#54
pbzin wants to merge 1 commit into
crdroidandroid:16.0from
pbzin:agent/codec2-legacy-sync-fence-abi

Conversation

@pbzin

@pbzin pbzin commented Aug 4, 2026

Copy link
Copy Markdown

Summary

  • Restore the legacy one-argument _C2FenceFactory::CreateSyncFence(int) ABI.
  • Keep the current validated two-argument implementation as the canonical path.

Root cause

Some Android 16 vendor Codec2 libraries still import the one-argument symbol. Without it, the vendor Codec2 service fails to load with a missing-symbol error, preventing video decoder initialization.

Compatibility

The overload delegates to CreateSyncFence(fenceFd, true), so existing callers retain the current validation behavior while older vendor implementations regain binary compatibility.

Validation

  • Confirmed the missing symbol while loading a newer Android 16 QTI Codec2 stack.
  • git diff --cached --check passed.

This change is framework-generic and contains no Sapphire-specific blobs or device files.

Sign up for free to 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.

1 participant