Vote your VDR patches

Message ID 9D4CAB5E5B58B743BC96CB3705D3D8CB0551EDAA@SEHAN022MB.tcad.telia.se
State New
Headers

Commit Message

jori.hamalainen@teliasonera.com March 2, 2009, 11:57 a.m. UTC
  >> 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.

LanguagePreference) ||
+             ((i == ttSubtitleFirst + 8) && !(*TrackId->language) &&
(LanguagePreference == INT_MAX))))
             PreferredTrack = eTrackType(i);
          }
      // Make sure we're set to an available subtitle track:
  

Patch

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,