diff options
-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); |