diff options
author | wm4 <wm4@nowhere> | 2014-05-11 15:41:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-11 15:41:34 +0200 |
commit | 31663beeac3643efa4d4f179956afdfb8eea676f (patch) | |
tree | 2c2cb31da09347c56549822b04a2cf9f291edeb2 /player | |
parent | 4b367d1602f206574886ee135dfe4238b7a08ed8 (diff) | |
download | mpv-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')
-rw-r--r-- | player/command.c | 9 |
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) |