diff options
author | wm4 <wm4@nowhere> | 2014-11-18 21:33:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-18 21:34:57 +0100 |
commit | 534b08e6ba924f96dfb9edc4a564d7596db35574 (patch) | |
tree | 113ea2d69918bb7ff93507a28c57e093b8b6e777 /input | |
parent | 5d1a3fb406b1d356155c64b64c9c020e7c245887 (diff) | |
download | mpv-534b08e6ba924f96dfb9edc4a564d7596db35574.tar.bz2 mpv-534b08e6ba924f96dfb9edc4a564d7596db35574.tar.xz |
command: add an ab_loop command
As suggested in #1241; to make using the feature easier.
Also add better OSD-formatting for the ab-loop-a/b properties.
Diffstat (limited to 'input')
-rw-r--r-- | input/cmd_list.c | 2 | ||||
-rw-r--r-- | input/cmd_list.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c index e281c84f9e..b513ff48ab 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -155,6 +155,8 @@ const struct mp_cmd_def mp_cmds[] = { { MP_CMD_DISCNAV, "discnav", { ARG_STRING } }, + { MP_CMD_AB_LOOP, "ab_loop", }, + { MP_CMD_AF, "af", { ARG_STRING, ARG_STRING } }, { MP_CMD_AO_RELOAD, "ao_reload", }, diff --git a/input/cmd_list.h b/input/cmd_list.h index c99ac58be9..8dc754c774 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -78,6 +78,8 @@ enum mp_command_type { MP_CMD_DISCNAV, + MP_CMD_AB_LOOP, + /// Audio Filter commands MP_CMD_AF, MP_CMD_AO_RELOAD, |