diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-08-12 20:45:16 +0300 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2021-09-06 10:16:10 +0300 |
commit | 2b1579b1c81500ffd0e49954bb380b7016ff33c3 (patch) | |
tree | 8d8d62f774504bd0d0d7005983b79abe1f5035c5 /mpv_talloc.h | |
parent | 6f23aa0d3ee91aec54cf46dd52509d98a41f09f2 (diff) | |
download | mpv-2b1579b1c81500ffd0e49954bb380b7016ff33c3.tar.bz2 mpv-2b1579b1c81500ffd0e49954bb380b7016ff33c3.tar.xz |
win_state: add vo_calc_window_geometry3
vo_calc_window_geometry2 (VCWG2) calculates both the pixelaspect and
the autofit sizes based on one "screen" rectangle.
However, these two calculations might need two different "screen"
rects if the fit should take into account decorations and/or taskbar
etc, while pixelaspect should be based on the full (monitor) rect.
VCWG3 does just that. It's the same as VCWG2, but with an additional
monitor rect which is used exclussively to calculate pixelaspect,
while the "screen" argument is used for fitting (like before).
VCWG2 now uses/calls VCWG3 with the same screen and monitor rects.
Currently yet unused.
Diffstat (limited to 'mpv_talloc.h')
0 files changed, 0 insertions, 0 deletions