1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 21:42:18 +00:00
mpv/DOCS/man
Avi Halachmi (:avih) ef1d0b2cdb options: win32: ignore and deprecate --fit-border
The accurate description of this option was:
- fit-border is enabled by default. When disabled, it adds a bug where
  if the window has borders and mpv shrinks it to fit the desktop, then
  the calculation ignores the borders and adds incorrect video crop.

The option was added at commits 70f64f3c and 949247d6, in order to
solve an issue (#2935) where if mpv wanted to display a video with
size WxH, then w32_common.c incorrectly set the window to WxH, while
down-scaling the video slightly to fit (even with small sizes).

It was addressed with a new option which is enabled by default, but
does the right thing (sets the client area to WxH) only when disabled,
so that everyone who prefers their video slightly downscaled could
keep their default behavior.

(#2935 also addressed an off-by-one issue, fixed before fit-border)

While disabling the option did avoid unnecessary downscaling, it also
added a bug when disabled: the borders are no longer taken into
account when the size is too big for the desktop. Most users don't
notice and are unaffected as it's enabled by default.

Shortly later (981048e0) the core issue is fixed, and now the client
area is correctly set to WxH instead of the window (and together with
the three following commits which center the video, adds a new bug
where the window title can be outside the display - addressed next).

However, fit-border remained, now without any effect, except that it
still has the same bug when disabled and the window is too big.

Later code changes and refactoring preserved this issue with great
attention to details, and it remained in identical form until now.

Simply rip out fit-border.
2021-04-23 10:45:51 +03:00
..
af.rst audio: add scaletempo2 filter based on chromium 2020-07-27 00:57:22 +02:00
ao.rst ao_oss: add this audio output again 2021-03-15 12:42:35 +01:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console: use wl-paste on Wayland 2020-12-14 22:43:34 +00:00
encode.rst manpage: explain deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
input.rst player/command: add albumart argument to video-add 2021-03-09 23:28:21 +02:00
ipc.rst scripting: make socket FD number for subprocesses dynamic 2020-05-15 16:37:41 +02:00
javascript.rst js: hooks: allow deferred continuation (match d0ab562b) 2020-08-07 15:12:20 +03:00
libmpv.rst DOCS: fix cplugins information in libmpv.rst. 2021-02-12 23:25:08 +02:00
lua.rst lua: make hook processing more flexible 2020-08-05 23:19:41 +02:00
mpv.rst manpage: rename OS X references to macOS 2021-01-03 12:05:30 -05:00
options.rst options: win32: ignore and deprecate --fit-border 2021-04-23 10:45:51 +03:00
osc.rst manpage: clarify requirements for boxvideo 2020-08-04 15:20:24 -05:00
stats.rst js: report scripts CPU/memory usage statistics 2020-11-15 20:36:04 +02:00
vf.rst docs: Fix an old style parameter reference 2021-01-20 01:15:36 +02:00
vo.rst manpage: rename OS X references to macOS 2021-01-03 12:05:30 -05:00