From 1fe39b75dba8223513712e4615254b3de37664e7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 19 Dec 2013 21:25:40 +0100 Subject: command: remove radio commands Remove these because I'm too lazy to convert them to proper STREAM_CTRLs. Considering that probably nobody uses radio://, caring about this is a complete waste of time. I will add these commands back if someone asks for them, but I don't expect this to happen. --- input/input.c | 5 ----- input/input.h | 4 ---- 2 files changed, 9 deletions(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 16f3b3c71a..9868ac1423 100644 --- a/input/input.c +++ b/input/input.c @@ -130,11 +130,6 @@ struct mp_cmd_def { static const struct mp_cmd_def mp_cmds[] = { { MP_CMD_IGNORE, "ignore", }, - { MP_CMD_RADIO_STEP_CHANNEL, "radio_step_channel", { ARG_INT } }, - { MP_CMD_RADIO_SET_CHANNEL, "radio_set_channel", { ARG_STRING } }, - { MP_CMD_RADIO_SET_FREQ, "radio_set_freq", { ARG_FLOAT } }, - { MP_CMD_RADIO_STEP_FREQ, "radio_step_freq", {ARG_FLOAT } }, - { MP_CMD_SEEK, "seek", { ARG_TIME, OARG_CHOICE(0, ({"relative", 0}, {"0", 0}, {"-", 0}, diff --git a/input/input.h b/input/input.h index 4020c3d276..3c6d8dccbd 100644 --- a/input/input.h +++ b/input/input.h @@ -60,14 +60,10 @@ enum mp_command_type { MP_CMD_PRINT_TEXT, MP_CMD_SHOW_TEXT, MP_CMD_SHOW_PROGRESS, - MP_CMD_RADIO_STEP_CHANNEL, - MP_CMD_RADIO_SET_CHANNEL, - MP_CMD_RADIO_SET_FREQ, MP_CMD_ADD, MP_CMD_CYCLE, MP_CMD_MULTIPLY, MP_CMD_CYCLE_VALUES, - MP_CMD_RADIO_STEP_FREQ, MP_CMD_TV_STEP_FREQ, MP_CMD_TV_START_SCAN, MP_CMD_STOP, -- cgit v1.2.3