From bda5e6d9fd6827b3e5d4cf3f8cafef5e3e079370 Mon Sep 17 00:00:00 2001 From: Andre D Date: Fri, 2 Aug 2013 01:32:38 -0700 Subject: mplayer: add more verbose exit codes --- core/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/command.c') diff --git a/core/command.c b/core/command.c index 05f361be31..17b01686f2 100644 --- a/core/command.c +++ b/core/command.c @@ -2154,7 +2154,8 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) case MP_CMD_QUIT: mpctx->stop_play = PT_QUIT; - mpctx->quit_player_rc = cmd->args[0].v.i; + mpctx->quit_custom_rc = cmd->args[0].v.i; + mpctx->has_quit_custom_rc = true; break; case MP_CMD_QUIT_WATCH_LATER: -- cgit v1.2.3