From 534b08e6ba924f96dfb9edc4a564d7596db35574 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 18 Nov 2014 21:33:15 +0100 Subject: 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. --- input/cmd_list.c | 2 ++ input/cmd_list.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'input') 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, -- cgit v1.2.3