diff options
author | Dudemanguy <random342@airmail.cc> | 2021-08-09 10:33:55 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-08-09 16:33:39 +0000 |
commit | 02323a184f2ddfed112d83d8e4f5880a0ee30480 (patch) | |
tree | 4f9ec3fe145516ce29e364f7b2eaeb011d7fab41 /common/msg.h | |
parent | 9dc0857b3d989148fb9d871e6cd3f1bc3c9110db (diff) | |
download | mpv-02323a184f2ddfed112d83d8e4f5880a0ee30480.tar.bz2 mpv-02323a184f2ddfed112d83d8e4f5880a0ee30480.tar.xz |
command: check for monitor par in window-scale
When performing the scaling calculations, the window scale properties do
not bother checking for potential monitor par. The vo keeps track of
this via vo->monitor_par. Simply multiply/divide the video's width or
height depending on the value of monitor_par. We also clamp the values
to avoid the values running away to infinity in extreme cases.
Diffstat (limited to 'common/msg.h')
0 files changed, 0 insertions, 0 deletions