summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2015-07-11 14:07:58 -0400
committerwm4 <wm4@nowhere>2015-07-11 23:46:49 +0200
commit4a4f788a68a0ca73dcc3eed6ccd0533be4912b20 (patch)
tree5b46154b0d44ca105052d1f091edfe1a882fe86d /etc
parent898855cc0d076e4132140abce5913c298de83a00 (diff)
downloadmpv-4a4f788a68a0ca73dcc3eed6ccd0533be4912b20.tar.bz2
mpv-4a4f788a68a0ca73dcc3eed6ccd0533be4912b20.tar.xz
player: use exit code 0 by default for quit, 4 for signals, etc.
Default key bindings in encoding mode also use code 4, because scripts will probably want to fail if encoding is aborted (leaving an incomplete file).
Diffstat (limited to 'etc')
-rw-r--r--etc/input.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/input.conf b/etc/input.conf
index c0adb269c6..03e02deda2 100644
--- a/etc/input.conf
+++ b/etc/input.conf
@@ -69,9 +69,9 @@
#BS set speed 1.0 # reset speed to normal
#q quit
#Q quit-watch-later
-#q {encode} quit
+#q {encode} quit 4
#ESC set fullscreen no
-#ESC {encode} quit
+#ESC {encode} quit 4
#p cycle pause # toggle pause/playback mode
#. frame-step # advance one frame and pause
#, frame-back-step # go back by one frame and pause
@@ -138,11 +138,11 @@
#VOLUME_DOWN add volume -2
#MUTE cycle mute
#CLOSE_WIN quit
-#CLOSE_WIN {encode} quit
+#CLOSE_WIN {encode} quit 4
#E cycle edition # next edition
#l ab_loop # Set/clear A-B loop points
#L cycle-values loop "inf" "no" # toggle infinite looping
-#ctrl+c quit
+#ctrl+c quit 4
# Apple Remote section
#AR_PLAY cycle pause