diff options
author | wm4 <wm4@mplayer2.org> | 2011-10-24 02:41:17 +0200 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-07-28 20:57:44 +0200 |
commit | 42c3a300082f5dfbbd09818d149331ff45fd5892 (patch) | |
tree | 58dd8ff6656c5ab1dfc836cb5da2a5781ecda4e8 /input/input.c | |
parent | af7a29424c889ea6993561262539586d7ac1dc40 (diff) | |
download | mpv-42c3a300082f5dfbbd09818d149331ff45fd5892.tar.bz2 mpv-42c3a300082f5dfbbd09818d149331ff45fd5892.tar.xz |
commands: add show_tracks_osd command to display audio and subtitle tracks on OSD
The command lists the audio and subtitle tracks in the current file on the
OSD. It also marks the currently active streams.
Video streams are not shown, as files with more than one video stream are
exceedingly rare.
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index f99c3218dc..014216e093 100644 --- a/input/input.c +++ b/input/input.c @@ -223,6 +223,7 @@ static const mp_cmd_t mp_cmds[] = { { MP_CMD_AF_CMDLINE, "af_cmdline", { ARG_STRING, ARG_STRING } }, { MP_CMD_SHOW_CHAPTERS, "show_chapters_osd", }, + { MP_CMD_SHOW_TRACKS, "show_tracks_osd", }, {0} }; |