summaryrefslogtreecommitdiffstats
path: root/mpvcore/input
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/input')
-rw-r--r--mpvcore/input/input.c2
-rw-r--r--mpvcore/input/input.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c
index dbda34ed40..f6553e7ba4 100644
--- a/mpvcore/input/input.c
+++ b/mpvcore/input/input.c
@@ -241,6 +241,8 @@ static const struct mp_cmd_def mp_cmds[] = {
}},
{ MP_CMD_DISABLE_INPUT_SECTION, "disable_section", { ARG_STRING } },
+ { MP_CMD_DVDNAV, "dvdnav", { ARG_STRING } },
+
{ MP_CMD_AF, "af", { ARG_STRING, ARG_STRING } },
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
diff --git a/mpvcore/input/input.h b/mpvcore/input/input.h
index 2465fe6010..13b86d227e 100644
--- a/mpvcore/input/input.h
+++ b/mpvcore/input/input.h
@@ -75,6 +75,8 @@ enum mp_command_type {
MP_CMD_ENABLE_INPUT_SECTION,
MP_CMD_DISABLE_INPUT_SECTION,
+ MP_CMD_DVDNAV,
+
/// DVB commands
MP_CMD_DVB_SET_CHANNEL,