summaryrefslogtreecommitdiffstats
path: root/DOCS/interface-changes.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-16 02:32:17 +0100
committerwm4 <wm4@nowhere>2019-12-16 02:32:17 +0100
commitd07b7f068db56aa5fa7cf16b9d077721ff0a8452 (patch)
tree355bb260fc26e1b8f43d373c1441a21662ad13b5 /DOCS/interface-changes.rst
parent98008558950c3eb99bad031cb478afa287e428aa (diff)
downloadmpv-d07b7f068db56aa5fa7cf16b9d077721ff0a8452.tar.bz2
mpv-d07b7f068db56aa5fa7cf16b9d077721ff0a8452.tar.xz
command: change "window-scale" property behavior
This is similar to the "edition" change. I considered making this go through deprecation, but didn't have a good idea how to do that. Maybe it's fine, because this is pretty obscure. But it might break some API users/scripts (it certainly broke stats.lua), and all I have to say is sorry for that.
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r--DOCS/interface-changes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index e3f197ab33..f12e6ed54a 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -67,6 +67,10 @@ Interface changes
be queried to read the runtime-chosen edition. This is a breaking change
for any users which expected "edition" to return the runtime-chosen
edition at default settings (--edition=auto).
+ - the "window-scale" property now strictly returns the value of the option,
+ instead of the actual size of the window. The new "current-window-scale"
+ property needs to be queried to read the value as indicated by the current
+ window size. This is a breaking change.
--- mpv 0.30.0 ---
- add `--d3d11-output-format` to enable explicit selection of a D3D11
swap chain format.