diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-08 10:01:52 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-08 10:01:52 +0100 |
commit | 64623e762b0d0ed28f6079ba814511274f5fb428 (patch) | |
tree | b5a8546f63e4c8ab6a33cd51bed049e5fac8dc66 /dvbspu.h | |
parent | 45e5859ae4cb9f7fd29a2acdd23ecfc5348d55fd (diff) | |
download | vdr-64623e762b0d0ed28f6079ba814511274f5fb428.tar.gz vdr-64623e762b0d0ed28f6079ba814511274f5fb428.tar.bz2 |
Implemented displaying mandatory subtitles in the SPU decoder
Diffstat (limited to 'dvbspu.h')
-rw-r--r-- | dvbspu.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 ------------------------------------------- |