summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-19 21:25:40 +0100
committerwm4 <wm4@nowhere>2013-12-19 21:25:40 +0100
commit1fe39b75dba8223513712e4615254b3de37664e7 (patch)
tree13ffa4ae0e53ecd1b135be7c4dfc1789916bcc63 /input
parentd2e750ccd62c144c6714c4086be6191833bff003 (diff)
downloadmpv-1fe39b75dba8223513712e4615254b3de37664e7.tar.bz2
mpv-1fe39b75dba8223513712e4615254b3de37664e7.tar.xz
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.
Diffstat (limited to 'input')
-rw-r--r--input/input.c5
-rw-r--r--input/input.h4
2 files changed, 0 insertions, 9 deletions
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,