summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/input.c2
-rw-r--r--input/input.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 836c9df14a..73e48436dd 100644
--- a/input/input.c
+++ b/input/input.c
@@ -224,6 +224,8 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_SHOW_CHAPTERS, "show_chapters_osd", },
{ MP_CMD_SHOW_TRACKS, "show_tracks_osd", },
+ { MP_CMD_VO_CMDLINE, "vo_cmdline", { ARG_STRING } },
+
{0}
};
diff --git a/input/input.h b/input/input.h
index 922cc21bbc..a4d9b8dab6 100644
--- a/input/input.h
+++ b/input/input.h
@@ -155,6 +155,9 @@ enum mp_command_type {
MP_CMD_SHOW_CHAPTERS,
MP_CMD_SHOW_TRACKS,
+
+ /// Video output commands
+ MP_CMD_VO_CMDLINE,
};
// The arg types