diff options
author | scop <scop> | 2005-03-14 13:17:23 +0000 |
---|---|---|
committer | scop <scop> | 2005-03-14 13:17:23 +0000 |
commit | 3e3dca51c34d3306fb813462cd9c9db4cb05ed13 (patch) | |
tree | 37799e154a169203d1013c3a0117f8ce24ec7207 | |
parent | 0b8f203c7996b6c620bfdbb2d1670ad551d1e77b (diff) | |
download | vdr-plugin-dxr3-3e3dca51c34d3306fb813462cd9c9db4cb05ed13.tar.gz vdr-plugin-dxr3-3e3dca51c34d3306fb813462cd9c9db4cb05ed13.tar.bz2 |
getScaleMode() from Peter Dittmann, http://www.linuxtv.org/mailinglists/vdr/2005/02-2005/msg00197.html
-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 119ebc7..1074cbe 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -23,5 +23,6 @@ Lars Neufurth - he donated some money so that I could buy a cheap dolby digital 5.1 system Luca Olivetti Ville Skyttä +Peter Dittmann Thank you very much :) diff --git a/dxr3spudecoder.c b/dxr3spudecoder.c index 8a21b9e..8ab7c6f 100644 --- a/dxr3spudecoder.c +++ b/dxr3spudecoder.c @@ -303,6 +303,13 @@ void cDxr3SpuDecoder::processSPU(uint32_t pts, uint8_t * buf) } // ================================== +// ! get scalemode +cSpuDecoder::eScaleMode cDxr3SpuDecoder::getScaleMode(void) +{ + return scaleMode; +} + +// ================================== // ! set scalemode void cDxr3SpuDecoder::setScaleMode(cSpuDecoder::eScaleMode ScaleMode) { diff --git a/dxr3spudecoder.h b/dxr3spudecoder.h index e183054..f8b0ab7 100644 --- a/dxr3spudecoder.h +++ b/dxr3spudecoder.h @@ -97,6 +97,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); |