summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--dxr3spudecoder.c7
-rw-r--r--dxr3spudecoder.h1
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);