input: fix exit code for quit-watch-later command

It should have the same default as the "quit" command.
This commit is contained in:
wm4 2015-07-08 19:01:56 +02:00
parent 9aadc0199f
commit 0be07e1d86
1 changed files with 1 additions and 1 deletions

View File

@ -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 },