From ca74ba00702f5b741ff55a4c82cc0585395f3b5a Mon Sep 17 00:00:00 2001 From: Levi Woodard Date: Wed, 1 Jul 2026 19:28:58 -0500 Subject: [PATCH] adding resize rules --- internal/player/player.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/player/player.go b/internal/player/player.go index cd6b6e8..f8c381a 100644 --- a/internal/player/player.go +++ b/internal/player/player.go @@ -67,6 +67,13 @@ func (p *Player) args() []string { "--cursor-autohide=always", "--no-border", "--fullscreen=no", // we tile via the compositor, not fullscreen + // Never let mpv resize its own window to the camera's native + // resolution — the compositor owns tile geometry. Without this a + // high-res camera grows its window and overlaps its neighbours. + "--auto-window-resize=no", + // Scale video to fill the tile (letterboxed to preserve aspect); the + // window size is fixed by the compositor, not by the video. + "--keepaspect=yes", "--title=" + p.Title(), "--input-ipc-server=" + p.ipcPath, "--hwdec=" + p.cfg.HWDec,