summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-17 22:00:42 +0100
committerwm4 <wm4@nowhere>2013-03-17 22:07:13 +0100
commitf86deec58be9bfbaf9bfa32660db7e6394962064 (patch)
tree038e7d12488cdc090c57beeec4ddb8873a3c5de5 /video
parentb049ffb33007997fbbaa553651eb3e3adc89ff28 (diff)
downloadmpv-f86deec58be9bfbaf9bfa32660db7e6394962064.tar.bz2
mpv-f86deec58be9bfbaf9bfa32660db7e6394962064.tar.xz
video: apply --no-keepaspect even on fullscreen
If that's what the user asked for, there's no reason to introduce special cases to ignore it on fullscreen. The old behavior is perhaps accidentally due to the fact that aspect calculations used to be disabled in windowed mode, rather than a deliberate decision.
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 138abef1d7..90497c48fd 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -516,7 +516,7 @@ void vo_get_src_dst_rects(struct vo *vo, struct mp_rect *out_src,
.display_par = vo->aspdat.monitor_par,
.video_par = vo->aspdat.par,
};
- if (vo->opts->keepaspect || vo->opts->fs) {
+ if (vo->opts->keepaspect) {
int scaled_width, scaled_height;
aspect_calc_panscan(vo, &scaled_width, &scaled_height);
int border_w = vo->dwidth - scaled_width;