summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-18 22:22:33 +0200
committerwm4 <wm4@nowhere>2014-05-18 22:22:33 +0200
commit0a4adce00c4da49cbbd36c4b381e69416a5304cc (patch)
tree028de08fa8c51b238d62f24ca8c311bb920fefff
parentd9bd5bacc109aae0b70e879bf2c8dcc93d34bc2b (diff)
downloadmpv-0a4adce00c4da49cbbd36c4b381e69416a5304cc.tar.bz2
mpv-0a4adce00c4da49cbbd36c4b381e69416a5304cc.tar.xz
etc/input.conf: add example how to change window size by key binding
Also drop a vague hint how to do it in the manpage.
-rw-r--r--DOCS/man/en/mpv.rst2
-rw-r--r--etc/input.conf1
2 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/en/mpv.rst b/DOCS/man/en/mpv.rst
index 37baded366..de4b34ea6b 100644
--- a/DOCS/man/en/mpv.rst
+++ b/DOCS/man/en/mpv.rst
@@ -204,6 +204,8 @@ corresponding adjustment, or the software equalizer (``--vf=eq``).)
command + 0
Resize movie window to half its original size.
+ (On other platforms, you can bind keys to change the ``window-scale``
+ property.)
command + 1
Resize movie window to its original size.
diff --git a/etc/input.conf b/etc/input.conf
index 42ae0701ce..321ba71423 100644
--- a/etc/input.conf
+++ b/etc/input.conf
@@ -215,3 +215,4 @@
# ? add sub-scale -0.1 # decrease subtitle font size
# ? sub_step -1 # immediately display next subtitle
# ? sub_step +1 # previous
+# ? cycle_values window-scale 0.5 2 1 # switch between 1/2, 2x, unresized window size