mirror of
https://github.com/mpv-player/mpv
synced 2025-03-30 07:18:17 +00:00
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) {
|
if (borders) {
|
||||||
borders->left = 0; borders->top = 0;
|
borders->left = 0; borders->top = 0;
|
||||||
}
|
}
|
||||||
if (vo_fs) {
|
if (aspect_scaling()) {
|
||||||
aspect(&scaled_width, &scaled_height, A_ZOOM);
|
aspect(&scaled_width, &scaled_height, A_WINZOOM);
|
||||||
panscan_calc();
|
panscan_calc_windowed();
|
||||||
scaled_width += vo_panscan_x;
|
scaled_width += vo_panscan_x;
|
||||||
scaled_height += vo_panscan_y;
|
scaled_height += vo_panscan_y;
|
||||||
if (borders) {
|
if (borders) {
|
||||||
|
Loading…
Reference in New Issue
Block a user