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

Fixed cDvbSpuBitmap::putPixel()

This commit is contained in:
Klaus Schmidinger 2005-08-07 12:08:40 +02:00
parent 7d54c997ab
commit 1173d8d359
3 changed files with 4 additions and 2 deletions

View File

@ -966,6 +966,7 @@ Reinhard Nissl <rnissl@gmx.de>
for fixing the call to Channels.Unlock() in cEITScanner::Process() for fixing the call to Channels.Unlock() in cEITScanner::Process()
for making cDvbPlayer::Goto() append a Sequence End Code to get the image shown for making cDvbPlayer::Goto() append a Sequence End Code to get the image shown
immediately with softdevices immediately with softdevices
for fixing cDvbSpuBitmap::putPixel()
Richard Robson <richard_robson@beeb.net> Richard Robson <richard_robson@beeb.net>
for reporting freezing replay if a timer starts while in Transfer Mode from the for reporting freezing replay if a timer starts while in Transfer Mode from the

View File

@ -3667,3 +3667,4 @@ Video Disk Recorder Revision History
replaying and is the only device that provides the given transponder, and that replaying and is the only device that provides the given transponder, and that
a forced EPG scan works even if EPG scan timeout is set to 0 (thanks to a forced EPG scan works even if EPG scan timeout is set to 0 (thanks to
Bernhard Stegmaier for reporting a problem with this). Bernhard Stegmaier for reporting a problem with this).
- Fixed cDvbSpuBitmap::putPixel() (thanks to Reinhard Nissl).

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 1.14 2005/05/07 11:13:48 kls Exp $ * $Id: dvbspu.c 1.15 2005/08/07 12:06:32 kls Exp $
*/ */
#include <assert.h> #include <assert.h>
@ -155,7 +155,7 @@ void cDvbSpuBitmap::putPixel(int xp, int yp, int len, uint8_t colorid)
setMin(minsize[colorid].x1, xp); setMin(minsize[colorid].x1, xp);
setMin(minsize[colorid].y1, yp); setMin(minsize[colorid].y1, yp);
setMax(minsize[colorid].x2, xp + len - 1); setMax(minsize[colorid].x2, xp + len - 1);
setMax(minsize[colorid].y2, yp + len - 1); setMax(minsize[colorid].y2, yp);
} }
static uint8_t getBits(uint8_t * &data, uint8_t & bitf) static uint8_t getBits(uint8_t * &data, uint8_t & bitf)