diff options
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 | ||||
-rw-r--r-- | options/options.h | 1 |
2 files changed, 3 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, }, 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; |