diff options
| author | scop <scop> | 2008-04-06 20:00:52 +0000 | 
|---|---|---|
| committer | scop <scop> | 2008-04-06 20:00:52 +0000 | 
| commit | fa4655e502469125e395d66efe54fd1fd8666675 (patch) | |
| tree | 4ee8356810d71733f5da3ebebd238ef67ac76d2d | |
| parent | 87052eea3e02fee40a4ab576a513d014cc228510 (diff) | |
| download | vdr-plugin-dxr3-fa4655e502469125e395d66efe54fd1fd8666675.tar.gz vdr-plugin-dxr3-fa4655e502469125e395d66efe54fd1fd8666675.tar.bz2 | |
Include VDR 1.6+ subtitle hack patch in patches/ (Luca Olivetti)VDR_DXR3_0_2_8
| -rw-r--r-- | HISTORY | 1 | ||||
| -rw-r--r-- | patches/vdr-dxr3subtitlehack.patch | 29 | 
2 files changed, 30 insertions, 0 deletions
| @@ -339,3 +339,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2  - Drop support for VDR < 1.4.0 (Ville Skyttä)  - Implement OSD level for VDR >= 1.5.9 (Luca Olivetti)  - Fix subtitles for VDR >= 1.5.11 (Luca Olivetti, Sami Sundell) +- Include VDR 1.6+ subtitle hack patch in patches/ (Luca Olivetti) diff --git a/patches/vdr-dxr3subtitlehack.patch b/patches/vdr-dxr3subtitlehack.patch new file mode 100644 index 0000000..49870be --- /dev/null +++ b/patches/vdr-dxr3subtitlehack.patch @@ -0,0 +1,29 @@ +Hack to improve subtitles experience with VDR 1.6.0 and DXR3 (Luca Olivetti). + +--- dvbsubtitle.c.orig	2008-03-06 21:38:45.698657000 +0100 ++++ dvbsubtitle.c	2008-03-06 21:41:58.308657000 +0100 +@@ -983,8 +983,15 @@ +      return; +   tArea *Areas = Page->GetAreas(); +   int NumAreas = Page->regions.Count(); +-  int Bpp = 8; ++  //int Bpp = 8; +   bool Reduced = false; ++  for (int i = 0; i < NumAreas; i++) { ++    if (Areas[i].bpp > 2) { ++      Areas[i].bpp = 2; ++      Reduced = true; ++    } ++  } ++  /* +   while (osd->CanHandleAreas(Areas, NumAreas) != oeOk) { +         int HalfBpp = Bpp / 2; +         if (HalfBpp >= 2) { +@@ -999,6 +1006,7 @@ +         else +            return; // unable to draw bitmaps +         } ++  */       +   if (Reduced) { +      for (int i = 0; i < NumAreas; i++) { +          cSubtitleRegion *sr = Page->regions.Get(i); | 
