mirror of https://github.com/mpv-player/mpv
Enable calc_src_dst_rects for windowed aspect and panscan.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29569 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8082e89f6e
commit
435a7803d0
|
@ -411,9 +411,9 @@ void calc_src_dst_rects(int src_width, int src_height, struct vo_rect *src, stru
|
|||
if (borders) {
|
||||
borders->left = 0; borders->top = 0;
|
||||
}
|
||||
if (vo_fs) {
|
||||
aspect(&scaled_width, &scaled_height, A_ZOOM);
|
||||
panscan_calc();
|
||||
if (aspect_scaling()) {
|
||||
aspect(&scaled_width, &scaled_height, A_WINZOOM);
|
||||
panscan_calc_windowed();
|
||||
scaled_width += vo_panscan_x;
|
||||
scaled_height += vo_panscan_y;
|
||||
if (borders) {
|
||||
|
|
Loading…
Reference in New Issue