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

Fixed initializing the highlight area in cDvbSpuDecoder

This commit is contained in:
Klaus Schmidinger 2003-10-12 09:45:51 +02:00
parent f163e785fb
commit d14de196e8
3 changed files with 7 additions and 1 deletions

View File

@ -601,6 +601,7 @@ Thomas Sailer <sailer@scs.ch>
Sven Goethel <sgoethel@jausoft.com> Sven Goethel <sgoethel@jausoft.com>
for making switching audio channels work without stopping/restarting the DMX for making switching audio channels work without stopping/restarting the DMX
for fixing initializing the highlight area in cDvbSpuDecoder
Jan Rieger <jan@ricomp.de> Jan Rieger <jan@ricomp.de>
for suggestions and testing raw keyboard input for suggestions and testing raw keyboard input

View File

@ -2416,3 +2416,4 @@ Video Disk Recorder Revision History
- Updated 'channels.conf.terr' for Berlin (thanks to Markus Hardt). - Updated 'channels.conf.terr' for Berlin (thanks to Markus Hardt).
- Fixed handling rc key learning in case cRemote::Initialize() returns 'false' - Fixed handling rc key learning in case cRemote::Initialize() returns 'false'
(thanks to Oliver Endriss). (thanks to Oliver Endriss).
- Fixed initializing the highlight area in cDvbSpuDecoder (thanks to Sven Goethel).

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.4 2003/08/15 13:04:39 kls Exp $ * $Id: dvbspu.c 1.5 2003/10/12 09:43:18 kls Exp $
*/ */
#include <assert.h> #include <assert.h>
@ -297,6 +297,10 @@ void cDvbSpuDecoder::clearHighlight(void)
{ {
clean &= !highlight; clean &= !highlight;
highlight = false; highlight = false;
hlpsize.x1 = -1;
hlpsize.y1 = -1;
hlpsize.x2 = -1;
hlpsize.y2 = -1;
} }
int cDvbSpuDecoder::ScaleYcoord(int value) int cDvbSpuDecoder::ScaleYcoord(int value)