From bd169a313c795652a27a6f20d81f6e6507b79e06 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Oct 2014 22:17:36 +0200 Subject: options: add --no-keepaspect-window Seems silly, but was requested. --- options/options.c | 2 ++ options/options.h | 1 + 2 files changed, 3 insertions(+) (limited to 'options') diff --git a/options/options.c b/options/options.c index 1639719dfe..a6cb4eb45f 100644 --- a/options/options.c +++ b/options/options.c @@ -453,6 +453,7 @@ const m_option_t mp_opts[] = { OPT_INTRANGE("hue", gamma_hue, 0, -100, 100), OPT_INTRANGE("gamma", gamma_gamma, 0, -100, 100), OPT_FLAG("keepaspect", vo.keepaspect, 0), + OPT_FLAG("keepaspect-window", vo.keepaspect_window, 0), //---------------------- mplayer-only options ------------------------ @@ -572,6 +573,7 @@ const struct MPOpts mp_default_opts = { .fsscreen_id = -1, .panscan = 0.0f, .keepaspect = 1, + .keepaspect_window = 1, .border = 1, .WinID = -1, }, diff --git a/options/options.h b/options/options.h index 580a0cc780..8d0b694d98 100644 --- a/options/options.h +++ b/options/options.h @@ -27,6 +27,7 @@ typedef struct mp_vo_opts { struct m_geometry autofit_larger; int keepaspect; + int keepaspect_window; int border; int64_t WinID; -- cgit v1.2.3