summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-18 21:33:15 +0100
committerwm4 <wm4@nowhere>2014-11-18 21:34:57 +0100
commit534b08e6ba924f96dfb9edc4a564d7596db35574 (patch)
tree113ea2d69918bb7ff93507a28c57e093b8b6e777 /input/cmd_list.c
parent5d1a3fb406b1d356155c64b64c9c020e7c245887 (diff)
downloadmpv-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/cmd_list.c')
-rw-r--r--input/cmd_list.c2
1 files changed, 2 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", },