[vdr] Hearing-impaired DVB subtitles
Rolf Ahrenberg
rahrenbe at cc.hut.fi
Fri Mar 7 12:26:53 CET 2008
On Thu, 6 Mar 2008, Klaus Schmidinger wrote:
> None of these two is specified as "for the hard of hearing".
Well, as Jouni already told, the Dutch is used here on YLE channels for
hard of hearing purposes. :)
> Maybe this is what's causing the problems here. While this makes sense for
> audio, it might not be that useful for subtitles. I guess some change in
> cDevice::EnsureSubtitleTrack() needs to be done to fix this.
I guess this kind of small change would be enough. IMO, the subtitles
should be shown only if a preferred language matches.
--- device.c.orig 2008-03-07 13:18:09.000000000 +0200
+++ device.c 2008-03-07 13:18:49.000000000 +0200
@@ -1096,7 +1096,7 @@
void cDevice::EnsureSubtitleTrack(void)
{
if (Setup.DisplaySubtitles) {
- eTrackType PreferredTrack = ttSubtitleFirst;
+ eTrackType PreferredTrack = ttNone;
int LanguagePreference = -1;
for (int i = ttSubtitleFirst; i <= ttSubtitleLast; i++) {
const tTrackId *TrackId = GetTrack(eTrackType(i));
BR,
--
rofa
More information about the vdr
mailing list