summaryrefslogtreecommitdiffstats
path: root/etc/example.conf
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-23 10:56:36 +0100
committerwm4 <wm4@nowhere>2013-01-23 10:56:36 +0100
commit7885fce7ea68d4c64e034b152f2a0b08bb648adc (patch)
tree1287161e93f05b5964347d008b82c18f0aad0ca8 /etc/example.conf
parentccaed5eb071319f9d412f42610302765b844f978 (diff)
downloadmpv-7885fce7ea68d4c64e034b152f2a0b08bb648adc.tar.bz2
mpv-7885fce7ea68d4c64e034b152f2a0b08bb648adc.tar.xz
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.
Diffstat (limited to 'etc/example.conf')
-rw-r--r--etc/example.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/example.conf b/etc/example.conf
index bb37a5e26d..e610b81b4f 100644
--- a/etc/example.conf
+++ b/etc/example.conf
@@ -28,6 +28,9 @@
# force starting with centered window
#geometry=50%:50%
+# don't allow a new window to have a size larger than 90% of the screen size
+#autofit-larger=90%x90%
+
# Keep the player window on top of all other windows.
#ontop=yes