From 0a4adce00c4da49cbbd36c4b381e69416a5304cc Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 18 May 2014 22:22:33 +0200 Subject: 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. --- DOCS/man/en/mpv.rst | 2 ++ etc/input.conf | 1 + 2 files changed, 3 insertions(+) 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 -- cgit v1.2.3