diff options
author | scop <scop> | 2005-03-22 21:34:10 +0000 |
---|---|---|
committer | scop <scop> | 2005-03-22 21:34:10 +0000 |
commit | dcc479d8075e7d45d4aae89328a10cab7b8f456f (patch) | |
tree | 110097d376427ccc321a5acef16e6d40be946bed | |
parent | 0fe72c3a9fd426c66b25e9372000652396fdbdf7 (diff) | |
download | vdr-plugin-dxr3-dcc479d8075e7d45d4aae89328a10cab7b8f456f.tar.gz vdr-plugin-dxr3-dcc479d8075e7d45d4aae89328a10cab7b8f456f.tar.bz2 |
Dummy port of getScaleMode() from 0-2 branch.
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | dxr3spudecoder.c | 7 | ||||
-rw-r--r-- | dxr3spudecoder.h | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 3a8e028..1268226 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -5,6 +5,7 @@ as it is now. Jon Burgess Stuart Daines Martin Dauskardt +Peter Dittmann Gavin Hamill Paavo Hartikainen Tobias Haustein diff --git a/dxr3spudecoder.c b/dxr3spudecoder.c index bb11d30..28231bb 100644 --- a/dxr3spudecoder.c +++ b/dxr3spudecoder.c @@ -42,6 +42,13 @@ void cDxr3SpuDecoder::processSPU(uint32_t pts, uint8_t * buf) } // ================================== +// ! get scalemode - needed only to compile with VDR >= 1.3.22 +cSpuDecoder::eScaleMode cDxr3SpuDecoder::getScaleMode(void) +{ + return eSpuNormal; // XXX: what... but this is unused in VDR <= 1.3.23 +} + +// ================================== // ! set scalemode - not needed void cDxr3SpuDecoder::setScaleMode(cSpuDecoder::eScaleMode ScaleMode) { diff --git a/dxr3spudecoder.h b/dxr3spudecoder.h index a5fea45..7de6360 100644 --- a/dxr3spudecoder.h +++ b/dxr3spudecoder.h @@ -41,6 +41,7 @@ public: int setTime(uint32_t pts); + cSpuDecoder::eScaleMode getScaleMode(void); void setScaleMode(cSpuDecoder::eScaleMode ScaleMode); void setPalette(uint32_t * pal); void setHighlight(uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey, uint32_t palette); |