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:
reimar 2009-08-27 19:13:19 +00:00
parent 8082e89f6e
commit 435a7803d0
1 changed files with 3 additions and 3 deletions

View File

@ -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) {