diff options
author | wm4 <wm4@nowhere> | 2015-01-16 22:30:32 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-16 22:30:41 +0100 |
commit | 1883b7cc0c2844a903d51042861fca16eb3fad02 (patch) | |
tree | cbedbd3ecb96a6573d20b771e51ba04124d3a7ee /options/options.c | |
parent | c8052da7decba4cbada6c240f2b21c09e385818c (diff) | |
download | mpv-1883b7cc0c2844a903d51042861fca16eb3fad02.tar.bz2 mpv-1883b7cc0c2844a903d51042861fca16eb3fad02.tar.xz |
player: add --autofit-smaller option
Fixes #1472.
(Maybe these options should have been named --autofit-max and
--autofit-min, but since --autofit-larger already exists, use
--autofit-smaller for symmetry.)
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 1 |
1 files changed, 1 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), |