Re: Vote your VDR patches

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

 



>> I think one important patch is missing for DVB subtitles users, which 
>> makes old vdr-subtitles -plugin's recorded subtitles visible also for 
>> new subtitles by Klaus.

> Is this included in liemikuutio?

I don't know as I don't use liemikuutio. But I downloaded the liemikuutio-
patch and saw the above patch for device.c which is the same. So the answer
is yes, it is included.

diff -Nru vdr-1.6.0-vanilla/device.c vdr-1.6.0-liemikuutio/device.c
--- vdr-1.6.0-vanilla/device.c	2008-03-09 12:03:34.000000000 +0200
+++ vdr-1.6.0-liemikuutio/device.c	2009-02-27 23:06:59.000000000 +0200
@@ -1100,7 +1100,8 @@
      int LanguagePreference = INT_MAX; // higher than the maximum possible
value
      for (int i = ttSubtitleFirst; i <= ttSubtitleLast; i++) {
          const tTrackId *TrackId = GetTrack(eTrackType(i));
-         if (TrackId && TrackId->id &&
I18nIsPreferredLanguage(Setup.SubtitleLanguages, TrackId->language,
LanguagePreference))
+         if (TrackId && TrackId->id &&
(I18nIsPreferredLanguage(Setup.SubtitleLanguages, TrackId->language,
LanguagePreference) ||
+             ((i == ttSubtitleFirst + 8) && !(*TrackId->language) &&
(LanguagePreference == INT_MAX))))
             PreferredTrack = eTrackType(i);
          }
      // Make sure we're set to an available subtitle track:

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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