Skip to content

fix(wayland): keep HDR metadata off mapping anchor - #5

Merged
Lowband21 merged 1 commit into
mainfrom
fix/wayland-hdr-anchor
Jul 25, 2026
Merged

fix(wayland): keep HDR metadata off mapping anchor#5
Lowband21 merged 1 commit into
mainfrom
fix/wayland-hdr-anchor

Conversation

@Lowband21

Copy link
Copy Markdown
Owner

Summary

  • retain the non-null 1x1 host buffer required for recursive subsurface mapping on KWin
  • keep that transparent host unscaled and untagged instead of applying child video HDR metadata to it
  • delegate the actual video surface image description to GStreamer 1.28+ waylandsink
  • tone-map to SDR when native nested-surface color management is unavailable
  • preserve synchronized, untagged PGS subtitle composition

This follows up #4: mapping the intermediary host made its existing manual HDR tag participate in composition, reintroducing green artifacts when SDR PGS overlays changed.

Testing

  • cargo test --workspace --all-features
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo fmt --all -- --check
  • cargo check -p ferrex-player --features mpv against this local Subwave checkout

@Lowband21
Lowband21 merged commit 7fea5ba into main Jul 25, 2026
4 checks passed
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