summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-08 19:01:56 +0200
committerwm4 <wm4@nowhere>2015-07-08 19:01:56 +0200
commit0be07e1d86c4817a3889196de1ae59ae7130fc35 (patch)
tree7f03b87470e80bd2fbc52f93748c0acc1332d18e
parent9aadc0199f39f4fe608a85864fe37d96b1a24a76 (diff)
downloadmpv-0be07e1d86c4817a3889196de1ae59ae7130fc35.tar.bz2
mpv-0be07e1d86c4817a3889196de1ae59ae7130fc35.tar.xz
input: fix exit code for quit-watch-later command
It should have the same default as the "quit" command.
-rw-r--r--input/cmd_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index c5249eb6f4..59c717ed4a 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -77,7 +77,7 @@ const struct mp_cmd_def mp_cmds[] = {
OARG_FLAGS(0, ({"mark", 1})),
}},
{ MP_CMD_QUIT, "quit", { OARG_INT(4) } },
- { MP_CMD_QUIT_WATCH_LATER, "quit-watch-later", { OARG_INT(0) } },
+ { MP_CMD_QUIT_WATCH_LATER, "quit-watch-later", { OARG_INT(4) } },
{ MP_CMD_STOP, "stop", },
{ MP_CMD_FRAME_STEP, "frame-step", .allow_auto_repeat = true,
.on_updown = true },