summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-03 22:02:10 +0200
committerwm4 <wm4@nowhere>2015-06-03 22:02:10 +0200
commit38c74270c3cc4e57ae2d68333845fa84e76bf457 (patch)
treed23aab865cbf498bc694b7f0790844a5bf176a9e /etc
parent04d5bf4f0b4a54ce3495eebe1297a57b82cca274 (diff)
downloadmpv-38c74270c3cc4e57ae2d68333845fa84e76bf457.tar.bz2
mpv-38c74270c3cc4e57ae2d68333845fa84e76bf457.tar.xz
inpout.conf: make shift+o toggle between 2 states only
The "osd" command cycles between 4 states (OSD level 0-3), which is probably confusing and inconvenient. OSD levels 0 and 2 are rarely needed. I would claim there is normally not much of a need to completely disable OSD by setting level 0 during playback. Level 2 is just slightly less information than level 3, and I'm not sure why it exists at all. Change it so that it toggles between level 3 and 1. Note that this ignores the default OSD level. If the default is 3, the first use of this key will set it to 3 again. Just assume 1 is the default. If someone complains, this could be improved.
Diffstat (limited to 'etc')
-rw-r--r--etc/input.conf2
-rw-r--r--etc/restore-old-bindings.conf4
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/input.conf b/etc/input.conf
index 0972fbb752..8c901f7f40 100644
--- a/etc/input.conf
+++ b/etc/input.conf
@@ -79,7 +79,7 @@
#> playlist-next # skip to next file
#ENTER playlist-next # skip to next file
#< playlist-prev # skip to previous file
-#O osd # cycle through OSD mode
+#O no-osd cycle_values osd-level 3 1 # cycle through OSD mode
#o show-progress
#P show-progress
#I show-text "${filename}" # display filename in osd
diff --git a/etc/restore-old-bindings.conf b/etc/restore-old-bindings.conf
index ea0c664fa2..a9b34d1734 100644
--- a/etc/restore-old-bindings.conf
+++ b/etc/restore-old-bindings.conf
@@ -9,6 +9,10 @@
#
# Older installations use ~/.mpv/input.conf instead.
+# changed in mpv 0.10.0
+
+O osd
+
# changed in mpv 0.7.0
ENTER playlist_next force