diff options
Diffstat (limited to 'libvo/video_out.c')
-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 f81544fc93..01c04f3ca6 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -476,9 +476,9 @@ void calc_src_dst_rects(struct vo *vo, int src_width, int src_height, if (borders) { borders->left = 0; borders->top = 0; } - if (vo_fs) { - aspect(vo, &scaled_width, &scaled_height, A_ZOOM); - panscan_calc(vo); + if (aspect_scaling()) { + aspect(vo, &scaled_width, &scaled_height, A_WINZOOM); + panscan_calc_windowed(vo); scaled_width += vo->panscan_x; scaled_height += vo->panscan_y; if (borders) { |