[vdr] Vote your VDR patches

jori.hamalainen at teliasonera.com jori.hamalainen at teliasonera.com
Mon Mar 2 12:57:53 CET 2009


>> 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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5933 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20090302/7cb92905/attachment.bin 


More information about the vdr mailing list