summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 0875e6ded5..9033241605 100644
--- a/options/options.c
+++ b/options/options.c
@@ -394,6 +394,7 @@ const m_option_t mp_opts[] = {
OPT_GEOMETRY("geometry", vo.geometry, 0),
OPT_SIZE_BOX("autofit", vo.autofit, 0),
OPT_SIZE_BOX("autofit-larger", vo.autofit_larger, 0),
+ OPT_SIZE_BOX("autofit-smaller", vo.autofit_smaller, 0),
OPT_FLAG("force-window-position", vo.force_window_position, 0),
// vo name (X classname) and window title strings
OPT_STRING("x11-name", vo.winname, 0),
diff --git a/options/options.h b/options/options.h
index 1664c3a443..3784cf5546 100644
--- a/options/options.h
+++ b/options/options.h
@@ -26,6 +26,7 @@ typedef struct mp_vo_opts {
struct m_geometry geometry;
struct m_geometry autofit;
struct m_geometry autofit_larger;
+ struct m_geometry autofit_smaller;
int keepaspect;
int keepaspect_window;