summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-24 02:41:17 +0200
committerwm4 <wm4@mplayer2.org>2012-07-28 20:57:44 +0200
commit42c3a300082f5dfbbd09818d149331ff45fd5892 (patch)
tree58dd8ff6656c5ab1dfc836cb5da2a5781ecda4e8 /input/input.h
parentaf7a29424c889ea6993561262539586d7ac1dc40 (diff)
downloadmpv-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.h')
-rw-r--r--input/input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.h b/input/input.h
index 9bbf6bf7df..977901b6d3 100644
--- a/input/input.h
+++ b/input/input.h
@@ -155,6 +155,7 @@ enum mp_command_type {
MP_CMD_AF_CMDLINE,
MP_CMD_SHOW_CHAPTERS,
+ MP_CMD_SHOW_TRACKS,
};
// The arg types