diff options
author | Andre D <andre@andred.ca> | 2013-08-02 01:32:38 -0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-02 13:00:25 +0200 |
commit | bda5e6d9fd6827b3e5d4cf3f8cafef5e3e079370 (patch) | |
tree | 23a877a121dff57f6352761fe830529826b44235 /core/command.c | |
parent | e56cedb3844ad2a0d8a5981c3a5df7c9c34771a6 (diff) | |
download | mpv-bda5e6d9fd6827b3e5d4cf3f8cafef5e3e079370.tar.bz2 mpv-bda5e6d9fd6827b3e5d4cf3f8cafef5e3e079370.tar.xz |
mplayer: add more verbose exit codes
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
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: |