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 /input | |
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 'input')
-rw-r--r-- | input/cmd_parse.c | 2 | ||||
-rw-r--r-- | input/input.h | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/input/cmd_parse.c b/input/cmd_parse.c index 64b23ac05f..fd7e178e73 100644 --- a/input/cmd_parse.c +++ b/input/cmd_parse.c @@ -108,8 +108,6 @@ struct flag { }; static const struct flag cmd_flags[] = { - {"pausing", MP_PAUSING_FLAGS, MP_PAUSING}, - {"pausing-toggle", MP_PAUSING_FLAGS, MP_PAUSING_TOGGLE}, {"no-osd", MP_ON_OSD_FLAGS, MP_ON_OSD_NO}, {"osd-bar", MP_ON_OSD_FLAGS, MP_ON_OSD_BAR}, {"osd-msg", MP_ON_OSD_FLAGS, MP_ON_OSD_MSG}, diff --git a/input/input.h b/input/input.h index b774462aab..2dc7b4b366 100644 --- a/input/input.h +++ b/input/input.h @@ -44,12 +44,9 @@ enum mp_cmd_flags { MP_ON_OSD_BAR = 2, // force a bar, if applicable MP_ON_OSD_MSG = 4, // force a message, if applicable MP_EXPAND_PROPERTIES = 8, // expand strings as properties - MP_PAUSING = 16, // pause after running command - MP_PAUSING_TOGGLE = 32, // toggle pause after running command MP_ON_OSD_FLAGS = MP_ON_OSD_NO | MP_ON_OSD_AUTO | MP_ON_OSD_BAR | MP_ON_OSD_MSG, - MP_PAUSING_FLAGS = MP_PAUSING | MP_PAUSING_TOGGLE, }; enum mp_input_section_flags { |