summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-10-12 09:45:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-10-12 09:45:51 +0200
commitd14de196e8f47ed926a4f30c82bc7eb81c0a6af1 (patch)
tree18293b11e2f363f90a6364913c829fa27def1fa0
parentf163e785fb345c9e2589110724da1cc762af3cf9 (diff)
downloadvdr-d14de196e8f47ed926a4f30c82bc7eb81c0a6af1.tar.gz
vdr-d14de196e8f47ed926a4f30c82bc7eb81c0a6af1.tar.bz2
Fixed initializing the highlight area in cDvbSpuDecoder
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--dvbspu.c6
3 files changed, 7 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index b7b47b7f..5c21c047 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -601,6 +601,7 @@ Thomas Sailer <sailer@scs.ch>
Sven Goethel <sgoethel@jausoft.com>
for making switching audio channels work without stopping/restarting the DMX
+ for fixing initializing the highlight area in cDvbSpuDecoder
Jan Rieger <jan@ricomp.de>
for suggestions and testing raw keyboard input
diff --git a/HISTORY b/HISTORY
index e9397754..cb63fd33 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2416,3 +2416,4 @@ Video Disk Recorder Revision History
- Updated 'channels.conf.terr' for Berlin (thanks to Markus Hardt).
- Fixed handling rc key learning in case cRemote::Initialize() returns 'false'
(thanks to Oliver Endriss).
+- Fixed initializing the highlight area in cDvbSpuDecoder (thanks to Sven Goethel).
diff --git a/dvbspu.c b/dvbspu.c
index 27e0bed5..74ace19a 100644
--- a/dvbspu.c
+++ b/dvbspu.c
@@ -8,7 +8,7 @@
*
* 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>
@@ -297,6 +297,10 @@ void cDvbSpuDecoder::clearHighlight(void)
{
clean &= !highlight;
highlight = false;
+ hlpsize.x1 = -1;
+ hlpsize.y1 = -1;
+ hlpsize.x2 = -1;
+ hlpsize.y2 = -1;
}
int cDvbSpuDecoder::ScaleYcoord(int value)