1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-25 09:03:15 +00:00
mpv/DOCS/man
Dudemanguy 873ae0de2a command: make current-window-scale writeable
Somewhat confusingly, mpv has both a window-scale option and a
current-window-scale property. The documentation lists window-scale
under properties (and it is technically is one), but at its core it is
actually an option which means it behaves subtly different. Options in
mpv are runtime-configurable, but they only change anything if the value
of the option itself changes. window-scale is an option and not meant to
keep track of the actual scale of the window (intended behavior
introduced by d07b7f0). This causes window-scale to do nothing in
certain cases (ex: the window is manually resized and window-scale is
set to 1.00 again). This is logical and consistent with the behavior of
the rest of the mpv options, but it also makes it a poor candidate for
setting the mpv window scale dynamically.

As a remedy, we can just make current-window-scale writeable instead.
current-window-scale is intended to always report the actual scale of
the window and keep track of any window size changes made by the user.
By making this property also writeable, it allows the user to have more
intuitive behavior (i.e. setting current-window-scale to 1.00 always
sets the window to a scale of 1). Additionally, the default input.conf
is changed to use current-window-scale instead of window-scale. The
window-scale documentation under property list is removed since it is
already documented under options and users should probably set the
current-window-scale property instead in most cases.
2021-08-05 19:13:10 +00: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 command: make current-window-scale writeable 2021-08-05 19:13:10 +00:00
ipc.rst scripting: make socket FD number for subprocesses dynamic 2020-05-15 16:37:41 +02:00
javascript.rst js: add mp.utils.append_file 2021-06-13 22:53:37 +03:00
libmpv.rst DOCS: fix cplugins information in libmpv.rst. 2021-02-12 23:25:08 +02:00
lua.rst DOCS/lua.rst: fix docs for utils.file_info 2021-05-03 13:25:21 +03:00
mpv.rst DOCS: fix manual compiling warnings 2021-07-28 13:56:27 +03:00
options.rst sub: sub-filter-regex and jsre: support ass-to-plaintext 2021-08-05 21:32:22 +03:00
osc.rst DOCS: fix typo on seekbarkeyframes 2021-06-24 14:34:33 +00:00
stats.rst DOCS: fix manual compiling warnings 2021-07-28 13:56:27 +03: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