Hearing-impaired DVB subtitles
Commit Message
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.
BR,
--
rofa
Comments
Rolf Ahrenberg wrote:
> I guess this kind of small change would be enough. IMO, the subtitles
> should be shown only if a preferred language matches.
I vote this for 1.6.0.
@@ -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));