diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2020-01-08 11:07:36 +0200 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2020-01-08 11:49:49 +0200 |
commit | 5e0875c9e04e6773575703b50264ea39c39bf56c (patch) | |
tree | 66ad1fd68dc97d52c314719255469fdd2030c1e3 /stream | |
parent | f612de17129054c915c23b18241988a284f0baa5 (diff) | |
download | mpv-5e0875c9e04e6773575703b50264ea39c39bf56c.tar.bz2 mpv-5e0875c9e04e6773575703b50264ea39c39bf56c.tar.xz |
js: use osd-dimentions for mp.get_osd_{size,margins}
This matches lua's 11b9315b but with the lagacy field names which the
js code used previously.
Currently the property always returns an object (with dummy/last/null
field values if there are no dimensions), but the code is ready for
a future case where it might return null if there are no dimensions - at
which case it will forward the null, breaking backward compatibility for
a better API.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions