summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c5
-rw-r--r--input/cmd_list.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 9005121985..acd8ae72a1 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -119,6 +119,11 @@ const struct mp_cmd_def mp_cmds[] = {
{"window", 1},
{"subtitles", 2})),
}},
+ { MP_CMD_SCREENSHOT_RAW, "screenshot_raw", {
+ OARG_CHOICE(2, ({"video", 0},
+ {"window", 1},
+ {"subtitles", 2})),
+ }},
{ MP_CMD_LOADFILE, "loadfile", {
ARG_STRING,
OARG_CHOICE(0, ({"replace", 0},
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 52dc6426fa..e9418d4429 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -48,6 +48,7 @@ enum mp_command_type {
MP_CMD_OSD,
MP_CMD_SCREENSHOT,
MP_CMD_SCREENSHOT_TO_FILE,
+ MP_CMD_SCREENSHOT_RAW,
MP_CMD_LOADFILE,
MP_CMD_LOADLIST,
MP_CMD_PLAYLIST_CLEAR,