Mercurial > mplayer.hg
changeset 29527:9ea49bcf3abc
Enable calc_src_dst_rects for windowed aspect and panscan.
author | reimar |
---|---|
date | Thu, 27 Aug 2009 19:13:19 +0000 |
parents | 53a2b67e6290 |
children | 2a3b942fce09 |
files | libvo/video_out.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/video_out.c Thu Aug 27 18:51:02 2009 +0000 +++ b/libvo/video_out.c Thu Aug 27 19:13:19 2009 +0000 @@ -411,9 +411,9 @@ 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) {