summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-20 23:58:02 +0200
committerwm4 <wm4@nowhere>2012-10-24 21:56:34 +0200
commit48ce4ab7f9259977f426d52b51601a54dbe15465 (patch)
tree2dae5a400d4fbb7da58a2134c28529ac9f9aeb6e /input
parent11ed093182f29c796ba6fd08f6c5c80e8fdb9349 (diff)
downloadmpv-48ce4ab7f9259977f426d52b51601a54dbe15465.tar.bz2
mpv-48ce4ab7f9259977f426d52b51601a54dbe15465.tar.xz
screenshot: change "screenshot" input command
"screenshot" now maps to "screenshot subtitles" by default, instead of "screenshot video". Swap the argument order: the more useful argument should come first. Remove the compatibility aliases for numeric choices (e.g. "screenshot 1 0" won't work anymore).
Diffstat (limited to 'input')
-rw-r--r--input/input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/input/input.c b/input/input.c
index ea9d2376b2..8b59501da0 100644
--- a/input/input.c
+++ b/input/input.c
@@ -159,11 +159,11 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_DVB_SET_CHANNEL, "dvb_set_channel", { ARG_INT, ARG_INT } },
{ MP_CMD_SCREENSHOT, "screenshot", {
- OARG_CHOICE(0, ({"single", 0}, {"0", 0},
- {"each-frame", 1}, {"1", 1})),
- OARG_CHOICE(0, ({"video", 0}, {"0", 0},
- {"window", 1}, {"1", 1},
+ OARG_CHOICE(2, ({"video", 0},
+ {"window", 1},
{"subtitles", 2})),
+ OARG_CHOICE(0, ({"single", 0},
+ {"each-frame", 1})),
}},
{ MP_CMD_LOADFILE, "loadfile", {
ARG_STRING,