From 7885fce7ea68d4c64e034b152f2a0b08bb648adc Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Jan 2013 10:56:36 +0100 Subject: video: add --autofit and --autofit-larger options --autofit=WxH sets the window size to a maximum width and/or height, without changing the window's aspect ratio. --autofit-larger=WxH does the same, but only if the video size is actually larger than the window size that would result when using the --autofit=WxH option with the same arguments. --- core/options.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/options.h') diff --git a/core/options.h b/core/options.h index 10932a4edf..3cd0132847 100644 --- a/core/options.h +++ b/core/options.h @@ -21,6 +21,8 @@ typedef struct MPOpts { int vo_screenwidth; int vo_screenheight; struct m_geometry vo_geometry; + struct m_geometry vo_autofit; + struct m_geometry vo_autofit_larger; int force_window_position; char *vo_winname; char *vo_wintitle; -- cgit v1.2.3