Skip to content

Allow custom apps to select video decoding via environment - #2196

Draft
darioriccio wants to merge 1 commit into
ossia:masterfrom
darioriccio:codex/video-decoding-environment
Draft

Allow custom apps to select video decoding via environment#2196
darioriccio wants to merge 1 commit into
ossia:masterfrom
darioriccio:codex/video-decoding-environment

Conversation

@darioriccio

@darioriccio darioriccio commented Aug 10, 2026

Copy link
Copy Markdown

Summary

  • read an optional SCORE_VIDEO_DECODING_METHOD environment variable at startup
  • match the requested decoder case-insensitively against the decoders available in the build
  • preserve the existing persisted setting when the variable is absent or invalid

This lets downstream applications such as Domeport Pro request Auto without changing score defaults or adding application-specific code to score.

Verification

The combined Domeport Pro macOS artifact built successfully in run 31439148108. With the persisted hardware-decoder preference deliberately set to None, the packaged process had SCORE_VIDEO_DECODING_METHOD=Auto and continuously played the affected HEVC 4320x2160 file at about 52-54 FPS. This confirms the application environment overrides the stored preference while leaving the global default unchanged.

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