diff options
Diffstat (limited to 'core/input/input.c')
-rw-r--r-- | core/input/input.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/input/input.c b/core/input/input.c index ce7b868c02..e87d9bb560 100644 --- a/core/input/input.c +++ b/core/input/input.c @@ -171,6 +171,12 @@ static const mp_cmd_t mp_cmds[] = { OARG_CHOICE(0, ({"single", 0}, {"each-frame", 1})), }}, + { MP_CMD_SCREENSHOT_TO_FILE, "screenshot_to_file", { + ARG_STRING, + OARG_CHOICE(2, ({"video", 0}, + {"window", 1}, + {"subtitles", 2})), + }}, { MP_CMD_LOADFILE, "loadfile", { ARG_STRING, OARG_CHOICE(0, ({"replace", 0}, {"0", 0}, |