summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-23 05:26:30 +0200
committerwm4 <wm4@mplayer2.org>2012-07-28 20:57:40 +0200
commitaf7a29424c889ea6993561262539586d7ac1dc40 (patch)
tree447b540fd533af8844b8577661d38a22d9b8a104 /input/input.h
parentac771d288d5a34a10d193bd9352c8f5c744df20f (diff)
downloadmpv-af7a29424c889ea6993561262539586d7ac1dc40.tar.bz2
mpv-af7a29424c889ea6993561262539586d7ac1dc40.tar.xz
commands: add show_chapters_osd command to display chapters on OSD
The command lists the chapters in the current file on the OSD. It also marks the current chapter. This is actually a cheap replacement for the chapter select libmenu functionality.
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h
index 87814dd56c..9bbf6bf7df 100644
--- a/input/input.h
+++ b/input/input.h
@@ -153,6 +153,8 @@ enum mp_command_type {
MP_CMD_AF_DEL,
MP_CMD_AF_CLR,
MP_CMD_AF_CMDLINE,
+
+ MP_CMD_SHOW_CHAPTERS,
};
// The arg types