vdr-1.5.10, dxr3 and subtitles
Commit Message
Oops,
wrong patch!
Right hacky thingy attached.
@@ -982,13 +982,13 @@
return;
tArea *Areas = Page->GetAreas();
int NumAreas = Page->regions.Count();
- int Bpp = 8;
+ int Bpp = 4;
bool Reduced = false;
- while (osd->CanHandleAreas(Areas, NumAreas) != oeOk) {
+// while (osd->CanHandleAreas(Areas, NumAreas) != oeOk) {
int HalfBpp = Bpp / 2;
if (HalfBpp >= 2) {
for (int i = 0; i < NumAreas; i++) {
- if (Areas[i].bpp >= Bpp) {
+ while (Areas[i].bpp >= Bpp) {
Areas[i].bpp = HalfBpp;
Reduced = true;
}
@@ -997,7 +997,7 @@
}
else
return; // unable to draw bitmaps
- }
+// }
if (Reduced) {
for (int i = 0; i < NumAreas; i++) {
cSubtitleRegion *sr = Page->regions.Get(i);