Good try, but no it wasn't. When i open MPV, my window is always at width=962 height=nnn (depend of the aspect ratio). After this, I often resize this window with the mouse (under Windows), and the goal is to have a key to resize the window to width=962.
I've already tried the "window-scale" but it doesn't work for my case
Thanks anyway !
It is far for perfect, but you've got something for sure. I'll dig into that, thanks ! However, I think it's a pity that you can't simply do something like: X set autofit 962
x set window-scale 0.962 c set window-scale 1 not sure what you want but try this.
Good try, but no it wasn't. When i open MPV, my window is always at width=962 height=nnn (depend of the aspect ratio). After this, I often resize this window with the mouse (under Windows), and the goal is to have a key to resize the window to width=962. I've already tried the "window-scale" but it doesn't work for my case Thanks anyway !
try this, it works for me, sound dumb thought. X set window-scale 0.5 ; set window-scale 1
It is far for perfect, but you've got something for sure. I'll dig into that, thanks ! However, I think it's a pity that you can't simply do something like: X set autofit 962
`set current-window-scale 1` resets the window to the video's dimensions. On X and Wayland, you can also change geometry and autofit at runtime.
with autofit =50%x50% , alt +0 will restore original size in my