adding resize rules
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user