Skip to content

fix(wayland): implement content fit geometry - #6

Merged
Lowband21 merged 1 commit into
mainfrom
fix/wayland-content-fit
Jul 25, 2026
Merged

fix(wayland): implement content fit geometry#6
Lowband21 merged 1 commit into
mainfrom
fix/wayland-content-fit

Conversation

@Lowband21

@Lowband21 Lowband21 commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • map Iced Contain, Cover, Fill, None, and ScaleDown modes to GStreamer's Wayland render rectangle
  • update video geometry when the fit mode changes without shrinking the background or subtitle canvas
  • keep PGS composition aligned with the fitted video rectangle, including cover clipping
  • preserve zero-copy rendering and keep the transparent mapping anchor unscaled and untagged

Validation

  • cargo fmt --all -- --check
  • cargo test --workspace --all-targets --locked
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • Ferrex --features mpv integration check in its Nix development shell using the local Subwave patch

@Lowband21
Lowband21 force-pushed the fix/wayland-content-fit branch from c3f4f8a to 5bc406c Compare July 25, 2026 05:53
@Lowband21
Lowband21 merged commit 8d21fb2 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