summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stheader.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-03 20:41:46 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-03 20:41:46 +0300
commit8ff5b2b88930146fb1931ead243703754e227709 (patch)
treeb7b5b83dd3435573a6ac0a589ba42532e9de3b0f /libmpdemux/stheader.h
parentc5364305bec6dff4566b988157b93d3d171465e3 (diff)
downloadmpv-8ff5b2b88930146fb1931ead243703754e227709.tar.bz2
mpv-8ff5b2b88930146fb1931ead243703754e227709.tar.xz
OSD: when switching sub/audio tracks show title of new track
If the played file has per-track titles for audio and subtitles show those on the OSD when switching tracks. This changes the OSD message from 'Audio: (2) eng' to 'Audio: (2) eng ("Director's commentary")'.
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r--libmpdemux/stheader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index e49d33f161..80818e8785 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -47,6 +47,7 @@ struct demuxer;
/* decoder context */ \
void *context; \
char *lang; /* track language */ \
+ char *title; /* track title */ \
bool default_track; \
typedef struct sh_common {