diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/player/command.c b/player/command.c index 5e09079866..be5d215300 100644 --- a/player/command.c +++ b/player/command.c @@ -3242,17 +3242,14 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) break; case MP_CMD_QUIT: + case MP_CMD_QUIT_WATCH_LATER: + if (cmd->id == MP_CMD_QUIT_WATCH_LATER) + mp_write_watch_later_conf(mpctx); mpctx->stop_play = PT_QUIT; mpctx->quit_custom_rc = cmd->args[0].v.i; mpctx->has_quit_custom_rc = true; break; - case MP_CMD_QUIT_WATCH_LATER: - mp_write_watch_later_conf(mpctx); - mpctx->stop_play = PT_QUIT; - mpctx->quit_player_rc = 0; - break; - case MP_CMD_PLAYLIST_NEXT: case MP_CMD_PLAYLIST_PREV: { |