From 8ff5b2b88930146fb1931ead243703754e227709 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 3 Jul 2011 20:41:46 +0300 Subject: 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")'. --- libmpdemux/stheader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpdemux/stheader.h') 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 { -- cgit v1.2.3