diff options
author | wm4 <wm4@nowhere> | 2014-10-04 22:17:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-04 22:17:36 +0200 |
commit | bd169a313c795652a27a6f20d81f6e6507b79e06 (patch) | |
tree | 502ed7e8d16b7cdfb3067601627c1c325803ab36 /options/options.c | |
parent | 1651d96583422d7e991ad5fde7c61ea3a89d2366 (diff) | |
download | mpv-bd169a313c795652a27a6f20d81f6e6507b79e06.tar.bz2 mpv-bd169a313c795652a27a6f20d81f6e6507b79e06.tar.xz |
options: add --no-keepaspect-window
Seems silly, but was requested.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, }, |