summaryrefslogtreecommitdiffstats
path: root/core/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-06 21:38:53 +0100
committerwm4 <wm4@nowhere>2013-02-06 23:03:39 +0100
commit74817a77d45c96d4107b1946d0f918a893c58cac (patch)
treec2d8ace45def32bcbb985a24f612faa0e0ba447b /core/input
parent314a07e787eac88486e5b3b5ed48aa37ae7cddfd (diff)
downloadmpv-74817a77d45c96d4107b1946d0f918a893c58cac.tar.bz2
mpv-74817a77d45c96d4107b1946d0f918a893c58cac.tar.xz
command: add command to show playlist on OSD
Diffstat (limited to 'core/input')
-rw-r--r--core/input/input.c1
-rw-r--r--core/input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/input/input.c b/core/input/input.c
index 06966ce25c..a03acd8e76 100644
--- a/core/input/input.c
+++ b/core/input/input.c
@@ -198,6 +198,7 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_SHOW_CHAPTERS, "show_chapters", },
{ MP_CMD_SHOW_TRACKS, "show_tracks", },
+ { MP_CMD_SHOW_PLAYLIST, "show_playlist", },
{ MP_CMD_VO_CMDLINE, "vo_cmdline", { ARG_STRING } },
diff --git a/core/input/input.h b/core/input/input.h
index b86f51a1e7..86726719b1 100644
--- a/core/input/input.h
+++ b/core/input/input.h
@@ -79,6 +79,7 @@ enum mp_command_type {
MP_CMD_SHOW_CHAPTERS,
MP_CMD_SHOW_TRACKS,
+ MP_CMD_SHOW_PLAYLIST,
/// Video output commands
MP_CMD_VO_CMDLINE,