From 31663beeac3643efa4d4f179956afdfb8eea676f Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 11 May 2014 15:41:18 +0200 Subject: input: remove pausing command prefixes These are now equivalent to combining commands with the "cycle pause" or "set pause" commands, and thus are not needed anymore. They were also obscure and undocumented. --- player/command.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'player/command.c') diff --git a/player/command.c b/player/command.c index 08f97f4b2e..ec05e8cc40 100644 --- a/player/command.c +++ b/player/command.c @@ -3714,15 +3714,6 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) default: MP_VERBOSE(mpctx, "Received unknown cmd %s\n", cmd->name); } - - if (cmd->flags & MP_PAUSING) - pause_player(mpctx); - if (cmd->flags & MP_PAUSING_TOGGLE) { - if (opts->pause) - unpause_player(mpctx); - else - pause_player(mpctx); - } } void command_uninit(struct MPContext *mpctx) -- cgit v1.2.3