dxr3 for vdr-1.3.22

Message ID 4221F016.8060400@ventoso.org
State New
Headers

Commit Message

Luca Olivetti Feb. 27, 2005, 4:06 p.m. UTC
  This patch is additional to the ones already collected at
http://cachalot.mine.nu/src/dxr3/

Bye
  

Comments

Ville Skyttä Feb. 27, 2005, 8:02 p.m. UTC | #1
On Sun, 2005-02-27 at 17:06 +0100, Luca Olivetti wrote:
> This patch is additional to the ones already collected at
> http://cachalot.mine.nu/src/dxr3/

Actually, that patch has been there since 7th February...
http://cachalot.mine.nu/src/dxr3/patches/vdr-dxr3-SpuDecoder.patch
http://www.linuxtv.org/mailinglists/vdr/2005/02-2005/msg00197.html
  
Luca Olivetti Feb. 27, 2005, 8:40 p.m. UTC | #2
Ville Skyttä wrote:
> On Sun, 2005-02-27 at 17:06 +0100, Luca Olivetti wrote:
> 
>>This patch is additional to the ones already collected at
>>http://cachalot.mine.nu/src/dxr3/
> 
> 
> Actually, that patch has been there since 7th February...
> http://cachalot.mine.nu/src/dxr3/patches/vdr-dxr3-SpuDecoder.patch
> http://www.linuxtv.org/mailinglists/vdr/2005/02-2005/msg00197.html

My fault, since I didn't need it before 1.3.22 I didn't notice.

Bye
  

Patch

--- dxr3spudecoder.c.vdr-1.3.22	2005-02-27 16:53:55.718908727 +0100
+++ dxr3spudecoder.c	2005-02-27 16:57:08.281100490 +0100
@@ -297,6 +297,12 @@ 
 }
 
 // ==================================
+cSpuDecoder::eScaleMode  cDxr3SpuDecoder::getScaleMode(void)
+{
+    return scaleMode;
+}
+
+// ==================================
 void cDxr3SpuDecoder::setScaleMode(cSpuDecoder::eScaleMode ScaleMode)
 {
     scaleMode = ScaleMode;
--- dxr3spudecoder.h.vdr-1.3.22	2005-02-27 16:53:50.577478795 +0100
+++ dxr3spudecoder.h	2005-02-27 16:55:43.030137078 +0100
@@ -75,7 +75,8 @@ 
     ~cDxr3SpuDecoder();
 
     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);