1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Reverted change to cDvbSpuBitmap::getMinBpp()

This commit is contained in:
Klaus Schmidinger 2009-12-24 10:52:23 +01:00
parent 64b6642851
commit 37850dfa87

View File

@ -8,7 +8,7 @@
* *
* parts of this file are derived from the OMS program. * parts of this file are derived from the OMS program.
* *
* $Id: dvbspu.c 2.5 2009/12/13 12:10:03 kls Exp $ * $Id: dvbspu.c 2.6 2009/12/24 10:52:23 kls Exp $
*/ */
#include "dvbspu.h" #include "dvbspu.h"
@ -348,7 +348,7 @@ int cDvbSpuBitmap::getMinBpp(const aDvbSpuPalDescr paldescr)
col++; col++;
} }
} }
return col > 2 ? 4 : 1; return col > 2 ? 4 : 2;
} }
int cDvbSpuDecoder::CalcAreaBpp(cBitmap *fgbmp, cBitmap *bgbmp) int cDvbSpuDecoder::CalcAreaBpp(cBitmap *fgbmp, cBitmap *bgbmp)