diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-27 19:13:19 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-08-27 19:13:19 +0000 |
commit | 435a7803d0e9d65835809909c5ab5854873edfd2 (patch) | |
tree | d9022632217c225be09c12813d05f37573088e92 | |
parent | 8082e89f6eacc5b054f7ca1b7b51d57fb7d5a7c8 (diff) |
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
-rw-r--r-- | libvo/video_out.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index b7c0ed1f0a..e636902d2e 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -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) { |