summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-23 09:20:36 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-23 09:20:36 +0100
commit1b104953ae203da6090102cea16d7688f6e6f8de (patch)
tree4109b0a8230a30f6a551a9f593e455eafdc394a5
parenta3d37dfc7104393a859be58181ac2ecfe1d72f75 (diff)
downloadvdr-1b104953ae203da6090102cea16d7688f6e6f8de.tar.gz
vdr-1b104953ae203da6090102cea16d7688f6e6f8de.tar.bz2
Removed obsolete code
-rw-r--r--dvbsubtitle.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/dvbsubtitle.c b/dvbsubtitle.c
index 7b8301d4..bb30cb90 100644
--- a/dvbsubtitle.c
+++ b/dvbsubtitle.c
@@ -7,7 +7,7 @@
* Original author: Marco Schlüßler <marco@lordzodiac.de>
* With some input from the "subtitle plugin" by Pekka Virtanen <pekka.virtanen@sci.fi>
*
- * $Id: dvbsubtitle.c 2.23 2012/02/22 09:33:45 kls Exp $
+ * $Id: dvbsubtitle.c 2.24 2012/02/23 09:20:36 kls Exp $
*/
@@ -541,7 +541,6 @@ public:
void SetPts(int64_t Pts) { pts = Pts; }
void SetState(int State);
void SetTimeout(int Timeout) { timeout = Timeout; }
- void UpdateRegionPalette(cSubtitleClut *Clut);
};
cDvbSubtitlePage::cDvbSubtitlePage(int PageId)
@@ -635,14 +634,6 @@ void cDvbSubtitlePage::SetState(int State)
}
}
-void cDvbSubtitlePage::UpdateRegionPalette(cSubtitleClut *Clut)
-{
- for (cSubtitleRegion *sr = regions.First(); sr; sr = regions.Next(sr)) {
- if (sr->ClutId() == Clut->ClutId())
- sr->Replace(*Clut->GetPalette(sr->Bpp()));
- }
-}
-
// --- cDvbSubtitleAssembler -------------------------------------------------
class cDvbSubtitleAssembler {