summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-11 15:41:18 +0200
committerwm4 <wm4@nowhere>2014-05-11 15:41:34 +0200
commit31663beeac3643efa4d4f179956afdfb8eea676f (patch)
tree2c2cb31da09347c56549822b04a2cf9f291edeb2 /player/command.c
parent4b367d1602f206574886ee135dfe4238b7a08ed8 (diff)
downloadmpv-31663beeac3643efa4d4f179956afdfb8eea676f.tar.bz2
mpv-31663beeac3643efa4d4f179956afdfb8eea676f.tar.xz
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.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c9
1 files changed, 0 insertions, 9 deletions
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)