summaryrefslogtreecommitdiff
path: root/dvbspu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-08 10:01:52 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-08 10:01:52 +0100
commit64623e762b0d0ed28f6079ba814511274f5fb428 (patch)
treeb5a8546f63e4c8ab6a33cd51bed049e5fac8dc66 /dvbspu.h
parent45e5859ae4cb9f7fd29a2acdd23ecfc5348d55fd (diff)
downloadvdr-64623e762b0d0ed28f6079ba814511274f5fb428.tar.gz
vdr-64623e762b0d0ed28f6079ba814511274f5fb428.tar.bz2
Implemented displaying mandatory subtitles in the SPU decoder
Diffstat (limited to 'dvbspu.h')
-rw-r--r--dvbspu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dvbspu.h b/dvbspu.h
index 078f432e..88812347 100644
--- a/dvbspu.h
+++ b/dvbspu.h
@@ -8,7 +8,7 @@
*
* parts of this file are derived from the OMS program.
*
- * $Id: dvbspu.h 1.6 2004/11/06 11:42:37 kls Exp $
+ * $Id: dvbspu.h 1.7 2005/01/08 09:59:44 kls Exp $
*/
#ifndef __DVBSPU_H
@@ -120,6 +120,7 @@ class cDvbSpuDecoder:public cSpuDecoder {
uint16_t prev_DCSQ_offset;
cDvbSpuBitmap *spubmp;
+ bool allowedShow;
private:
int cmdOffs(void) {
return ((spu[2] << 8) | spu[3]);
@@ -147,7 +148,7 @@ class cDvbSpuDecoder:public cSpuDecoder {
void Hide(void);
void Draw(void);
bool IsVisible(void) { return osd != NULL; }
- void processSPU(uint32_t pts, uint8_t * buf);
+ void processSPU(uint32_t pts, uint8_t * buf, bool AllowedShow);
};
// --- cDvbSpuPalette -------------------------------------------