From dcc479d8075e7d45d4aae89328a10cab7b8f456f Mon Sep 17 00:00:00 2001 From: scop Date: Tue, 22 Mar 2005 21:34:10 +0000 Subject: Dummy port of getScaleMode() from 0-2 branch. --- CONTRIBUTORS | 1 + dxr3spudecoder.c | 7 +++++++ dxr3spudecoder.h | 1 + 3 files changed, 9 insertions(+) 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 @@ -41,6 +41,13 @@ void cDxr3SpuDecoder::processSPU(uint32_t pts, uint8_t * buf) m_Interface.WriteSpu(buf, (buf[0] << 8) + buf[1]); } +// ================================== +// ! 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); -- cgit v1.2.3