Re: Hearing-impaired DVB subtitles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux